iptables配置允许mysql远程访问
vi /etc/sysconfig/iptables
iptables -A INPUT -p tcp -m state --state NEW -m tcp --dport 3306 -j ACCEPT
service iptables save
service iptables restart
开通3306 端口的行必须在icmp-host-prohibited前
vi /etc/sysconfig/iptables
iptables -A INPUT -p tcp -m state --state NEW -m tcp --dport 3306 -j ACCEPT
service iptables save
service iptables restart
开通3306 端口的行必须在icmp-host-prohibited前