What connection string can I use to connect to my MSSQL database?

The following connection string is an example. More connection strings can be found on the ConnectionStrings.com website.

<add name="strDBConnection" connectionString="Server=.\;Database=DBNAME;uid=DBUSERNAME;pwd=DBPASSWORD" />

  • DBNAME is what you specified as your database name in the control panel (accountname_DBNAME)
  • DBUSERNAME is the username you created to connect to the database (and was associated with the database in the control panel). (accountname_DBUSERNAME)
  • DBPASSWORD is the password you associated with the username above

Was this answer helpful?

 Print this Article

Related Articles

How do I connect to SQL Server on my Dedicated Machine from my desktop?

If you have a dedicated (physical or virtual) machine with i7MEDIA and you have SQL Server...

Backing up and Restoring SQL Server Databases

To backup SQL Server database: Login to the Easy Hosting Control website. Learn How. Click...

Managing SQL Server Databases

i7MEDIA offers a web-based SQL Management application for SQL Server Management. This tool allows...