TLowder
Programmer
- Mar 20, 2002
- 224
I'm using mysql-5.0.1-alpha-snapshot-win & VB 6.0
I'm having trouble connecting to the database server over a lan.
When I use the following connection string from the server it works fine. -
adoCon.ConnectionString = "Driver={MySQL ODBC 3.51 Driver};SERVER=localhost;DATABASE=MyDatabase;uid=root;"
When I use the the following connection string from another computer I get this error -
adoCon.ConnectionString = "Driver={MySQL ODBC 3.51 Driver};SERVER=192.168.0.2;DATABASE=MyDatabase;uid=Tom;pwd=X12;"
Run-time error '-2147467259(80004005)'
[MySQL][ODBC 3.51 Driver]Can't connect to MySQL server on '192.168.0.2' (10060)
Also when I try the last connection from the database server and in vb (not compiled) I get the following error -
Run-time error '-2147467259(80004005)'
[MySQL][ODBC 3.51 Driver]Client does not support authentication protocol requested by server; consider upgrading MySQL client
In MySQL CC under users -
Username = Tom
Host = %
Password=X12
Global privileges and MyDatabase are checked with All Privileges
Thanks,
Tom
I'm having trouble connecting to the database server over a lan.
When I use the following connection string from the server it works fine. -
adoCon.ConnectionString = "Driver={MySQL ODBC 3.51 Driver};SERVER=localhost;DATABASE=MyDatabase;uid=root;"
When I use the the following connection string from another computer I get this error -
adoCon.ConnectionString = "Driver={MySQL ODBC 3.51 Driver};SERVER=192.168.0.2;DATABASE=MyDatabase;uid=Tom;pwd=X12;"
Run-time error '-2147467259(80004005)'
[MySQL][ODBC 3.51 Driver]Can't connect to MySQL server on '192.168.0.2' (10060)
Also when I try the last connection from the database server and in vb (not compiled) I get the following error -
Run-time error '-2147467259(80004005)'
[MySQL][ODBC 3.51 Driver]Client does not support authentication protocol requested by server; consider upgrading MySQL client
In MySQL CC under users -
Username = Tom
Host = %
Password=X12
Global privileges and MyDatabase are checked with All Privileges
Thanks,
Tom