How do I connect to the MySQL server using Classic ASP?

Please use the following connection string on our Windows 2012 servers to connect to the local MySQL service:

 

     "DRIVER={MySQL ODBC 5.1 Driver}; SERVER=127.0.0.1;DATABASE=DBNAME;UID=USERNAME;PWD=PASSWORD;OPTION=3;"

      Where:

    DBNAME and USERNAME and PASSWORD are what you've already specified in the control panel under MySQL databases.

  • How do I connect to the MySQL server using Classic ASP?, MySQL server using Classic ASP
  • 2 Users Found This Useful
Was this answer helpful?

Related Articles

Ajax functionality is integrated in ASP .NET

To use Ajax,  login to your control panel. Click on Web Sites section. Click on the website...

ASP.NET TRUST LEVEL

We run ASP.NET in Full Trust Level

How to change SMTP port number?

To set up Microsoft Outlook Express:    Open Microsoft Outlook Express      Go to Tools >...

Can't receive mail but can send mail - Windows dedicated

If you are having problems receiving mail, you may be having a problem with the domain's disk...

Can't send mail but can receive - Windows dedicated

Usually when a user cannot send mail it is caused by a block on the Internet service provider's...