How to find a sample database connection string

Control Panel V10 > Hosting Control Panel

To view sample connection strings for an MSSQL database:

  1. Sign in to the Hosting Control Panel and open Databases > MSSQL.
  2. Locate the database and select Connection String.
  3. Copy the sample for ASP.NET, ASP, or PHP.
  4. Replace the password placeholder with the database password before using the connection string.

Current Hosting Control Panel screen

Treat database credentials as sensitive information and do not commit them to a public source-code repository.