Which connection string for MySql ODBC connector 5.2.6?

Posted by stighy on Stack Overflow See other posts from Stack Overflow or by stighy
Published on 2013-10-22T10:27:13Z Indexed on 2013/10/24 9:55 UTC
Read the original article Hit count: 283

Filed under:
|

it seems i can't make work a connection to MySql using ODBC connector 5.2.6. In a 64 bit environment, in a VBA excel application, i use this string, but it not work:

"Driver={MySQL ODBC 5.2 Driver}; Server=myserver;Database=mydb;User=readonly;Password=mypass;Option=3"

I have also used

Driver={MySQL ODBC 5.2w Driver}

and

Driver={MySQL ODBC 5.2a Driver}

But the error is: ODBC driver unknow.

Can someone help me ?

Ps: it works with a DSN setted, but i would like to use a connection string so i don't go to each user computer and set a DSN.

Thanks

© Stack Overflow or respective owner

Related posts about mysql

Related posts about connection-string