Return to "MySQL"

Connecting to MySQL databases with ASP


 
The topic of this article is not supported by our customer support department, however for your convenience we are providing this material to assist you in troubleshooting potential issues related to this topic.

The ASP engine provided by OpenSourceHost supports MySQL databases; simply use the following connection string in your ASP code to connect to your MySQL database:

connect_string = “Driver={Mysql}; Server=yoursitedomain.com; Database=database_name; UID=username; PWD=password”

Replace username with your VDS username, the server name with your domain name, the database name with the database name you are using with ASP, and the password that you selected when MySQL was installed. If you have trouble making a connection to your MySQL database, please contact the OpenSourceHost Customer Support team.