ALL SYSTEMS OPERATIONALUPTIME 99.97%FLEET 18/18IN-MUM · US-LAX · EU-FSN EST. 2003 · +91 11 4998 4038

KNOWLEDGEBASE · WINDOWS

Connection String; MSSQL & MySQL databases

Last updated 2020-04-05

MSSQL & MySQL Connection Strings: Server information
Applicable to Windows Hosting Only;
Please call your databases via following strings,
MySQL : "mysql.server" (without the quotes)
MSSQL: "mssql.server" (without the quotes)

Samples database connection strings:
mssql.server

Code:

"Data Source=mssql.server;Initial Catalog=pubs;User Id=username;Password=asdasd;"
"Server=mssql.server;Database=pubs;User ID=username;Password=asdasd;"




mysql.server


Code:

"DRIVER={MySQL ODBC 3.51 Driver};SERVER=mysql.server;DATABASE=myDatabase; USER=myUsername;PASSWORD=myPassword;"
"$conn = mysql_connect('mysql.server', 'mysql_user', 'mysql_password');"






← All knowledgebase articles

Tell us what has to stay up.

A short conversation with an engineer. No quote-bot, no callback queue. We'll tell you honestly if we're not the right fit.