Error: 1130 - Host'ClientIP' is not allowed to connect to this MySQL server
解决方法:使用root用户登陆Linux,更改容许登陆的IP地址范围。 授权。
mysql>grant all privileges on *.* to 'root'@'%' identified by 'rootpasswd' with grant option;
grant 权限1,权限2,…权限n on 数据库名称.表名称 to 用户名@用户地址 identified by ‘连接口令';
Error: 2003:Can't connect to MySQL server on '192.168.*.*'
解决方法:关闭Linux的防火墙功能。
- #chkconfig iptables off
- #reboot
现在重新用Navicat连接Linux mysql 便可以成功了。