Example Connection Strings

Note that in both examples the MiDatabank database is called MI

Example of a Connection String using SQL Authentication:

This connection string assumes that you have a server called pluto that has a database called mi with a SQL login called MIAdminLogin with a password of letmein

packet size=4096;user id=MIAdminLogin;password=letmein;data source=pluto;persist security info=False;initial catalog=MI

Example of a Connection String using Windows Authentication:

This connection string assumes that you have a server called pluto that has a database called mi

packet size=4096;integrated security=SSPI;data source=pluto;persist security info=False;initial catalog=mi