been attempting to find an answer to this for a while now, to no success, so I'm hoping someone on here may have an idea what's causing this.
Basically, I'm setting up a new website, IIS7, ASP driven, with a MySQL database. This is a new virtual server, so it's a fresh install of pretty much everything.
MySQL server's on, users set up, showing up fine in NaviCat. ODBC connector's installed, I'm using this connection string:
MM_dsnTest_STRING = "Provider=MSDASQL;driver={MySQL ODBC 5.1 Driver};server=localhost;uid=[my UID here];pwd=[my password here];database=[my database here];option=3;"
Which works on the other, functionally identical site I have running.
And yet, upon testing the DB from ASP code, I get this:
error '80004005'
/dbtest.asp, line 9
That line is
rsCheck_cmd.ActiveConnection = MM_dsnTest_STRING
Some googling around for this, and most of the suggestions were along the lines of "Install the ODBC driver" which I have already done, "Install the Net Connector" which I have tried and didn't solve anything, and one suggestion that it might be I might need to set the App Pool to allow 32bit applications in order to make Classic ASP work (but that was already switched on).
Everything else has been about connecting to Access databases.
So I'm at a loss. Any insights?