1. 程式人生 > >解決Ubuntu系統下 mysql 遠程連接失敗的問題 ERROR 2003 (HY000): Can't connect to MySQL server on 'xxx.xxx.xx.xx' (110)

解決Ubuntu系統下 mysql 遠程連接失敗的問題 ERROR 2003 (HY000): Can't connect to MySQL server on 'xxx.xxx.xx.xx' (110)

bind okr 解決 rul 就是 roo com 但是 serve

如果遠程連不上mysql.cnf 裏面也修改了;bind註銷掉了127.0.0.1 等所有的

但是telnet xxx.xxx.xx.xx 3306 端口 不通;那麽 就是防火墻的問題了

1.修改Ubuntu系統防火墻規則

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

技術分享圖片

解決Ubuntu系統下 mysql 遠程連接失敗的問題 ERROR 2003 (HY000): Can't connect to MySQL server on 'xxx.xxx.xx.xx' (110)