error message on ODBC:
Connection Failed: [HY000][MySQL][ODBC 3.51 Driver] Can't connect to MySQL server on '192.168.100.3'(10061)
environment:
Server: Linux + MySQL
Client: Windows 7 + VB6 + ODBC connection
Solution:
follow below steps:
(1) go to your MySQL Server:
edit on file : /etc/MySQL/my.cnf
changes: bind-address = 127.0.0.1
become to : bind-address = 0.0.0.0
(2) go to MySQL database
Privileges:
add user root
host : any host or IP your PC
password
Global privileges: grant all table
# restart the server after finish
the issue due to authentification issue, only access from localhost then changes to access from others host.
Thursday, December 26, 2013
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment