解决Ubuntu系统下 mysql 远程连接失败的问题 ERROR 2003 (HY000): Can't connect to MySQL server on 'xxx.xxx.xx.xx' (110)

如果远程连不上mysql.cnf 里面也修改了;bind注销掉了127.0.0.1 等所有的

但是telnet xxx.xxx.xx.xx 3306 端口 不通;那么 就是防火墙的问题了

1.修改Ubuntu系统防火墙规则

[root@daokr ubuntu]#vim /etc/iptables.rules 

猜你喜欢

转载自www.cnblogs.com/wanglijun/p/9495895.html