Connection Strings for MySQL

Issue

Unable to set the string to connect to your MySQL server database

Symptoms

Application not functioning as unable to established the connection to the database

Cause

None

Workaround

PHP (DSNless):

$db = mysql_connect(“serverIP”, “user”, “pass”)

ASP (DSN):

MyConn.Open “dsn”

ASP (DSNless):

“Driver={MySQL ODBC 3.51 Driver};” & _
“Server=serverIP;” & _
“Port=3306;” & _
“Option=131072;” & _
“Stmt=;” & _
“Database=mydatabase;” & _
“Uid=user;” & _
“Pwd=pass”

Additional Information 

If you are unable to perform the steps, kindly submit ticket to our Support Team with your database login details.

Updated on March 14, 2019

Was this article helpful?

Related Articles

Leave a Comment

Need Help?
Submit a ticket to us and let our professional team assists you

Support Billing Sales
Support
Billing
Sales