问题报错:
ERROR 2003 (HY000): Can't connect to MySQL server on “111.111.111.111”(10060)
解决办法:关闭防火墙
1) 重启后生效
开启: chkconfig iptables on
关闭: chkconfig iptables off
2) 即时生效,重启后失效
开启: service iptables start
关闭: service iptables stop
本文介绍了解决MySQL连接错误的具体步骤,包括通过关闭防火墙来解决无法连接到MySQL服务器的问题,并提供了两种关闭防火墙的方法。
问题报错:
ERROR 2003 (HY000): Can't connect to MySQL server on “111.111.111.111”(10060)
解决办法:关闭防火墙
1) 重启后生效
开启: chkconfig iptables on
关闭: chkconfig iptables off
2) 即时生效,重启后失效
开启: service iptables start
关闭: service iptables stop
603
2557

被折叠的 条评论
为什么被折叠?