ADODB connection fails (better topic)
Hi all!
I had posted this as a followup to a different question, but for future reference of those having trouble I decided to repost it under a better topic header.
My problem is this:
DIM cn as ADODB.connection
DIM rs as ADODB.recordset
DIM SQLString as String
SQLString = "INSERT INTO table_name (Blah, blah, blah) VALUES (yadda, yadda, yadda)"
cn = set new ADODB.conn.... etc
etc
etc
And everything's fine until I hit this part of the program:
cn.Open "Driver={MySQL ODBC 3.51 Driver};Server=www.oursqldomain.net;Port=3306;Data base=data_base;User=data_user; Password=abc123;Option=3;"
And then it dies like a kamikazee lemming at the Grand Canyon.
Any ideas? Thanks!
-DW
P.S. For reference, I'm trying to connect to a MySQL server on our website FROM an access (VBA) form using an On_Click() event.
|