
October 2nd, 2012, 11:54 PM
|
|
|
|
couttsj, the op is using a "dsn-less" connection string.
To make mysql work with ADO, you need to have the mysql drivers installed on the computer that's executing the script. Review the connection string and verify you're using the correct identifier for your version of the mysql odbc dricers.
The mysql port must be open to the computer that has the mysql db on it, so check all firewalls / routers / port forwards / etc between the two machines.
The mysql database permissions must allow your host to connect with the db user and password you're using.
Once all this stuff is in place your connection should work. You still may need to tweak some of the mysql specific options in the connection string, refer to the mysql odbc driver documentation for specifics.
__________________
======
Doug G
======
It is a truism of American politics that no man who can win an election deserves to. --Trevanian, from the novel Shibumi
|