Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21993

VB6.0 does not connect to mysql on centos 6 server

$
0
0
VB6.0 does not connect to mysql on centos 6 server

I try to connect vb6.0 from win7 to mysql server in centos. I installed odbs drive 3.51. i try to connect to server and error

Odbc drive not found .pls help me

Mysql user is able to login in the backend

Also we have given privilges for all in *.database to the mysql user@localhost

connstr = "DRIVER={MySQL ODBC 3.51 Driver};" & _
"SERVER=xxxx;" & _
"OPTION=3;" & _
"Database=Databasename;" & _
"UID=user;" & _
"PWD=passwor;"

rs.Open SQLstr, db,

++++++++++

Posted this in centos forum as well.. However VB is able to connect to mysql in windows server.

https://www.centos.org/modules/newbb...orumpost172705

Viewing all articles
Browse latest Browse all 21993

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>