错误如下
Can‘t connect to mysql on ‘192.168.1.124‘ (10061)
解决:
    优先检查授权:
grant all privileges on *.* to ‘root‘@‘%‘ identified by ‘password‘
        --%表示所有的ip可能
    检查mysql配置文件(my.ini或者my.cnf):
bind-address = 127.0.0.1
        改成 bind-address     = 0.0.0.0
        
        
原文:http://8193146.blog.51cto.com/8183146/1637240