connect to MySQL 10061 grant

2014-11-24 18:17:56 · 作者: · 浏览: 0

1)服务器上mysql -uroot -p123456 查询可以登录


2)ping OK


3)服务器上 mysql grant 外部权限 grant all privileges on *.* to 'root'@'%' identified by '123456'; flush privileges;进行授权


4)数据库配置my.cnt 注释掉skip。。。 和 bing 上服务器地址,原理是127.0.0.1


5)/etc/init.d/mysql restart


//Navicat 8.2.12 , MySQL GUI Tools 5.0