1.telnet host 'xx' 会发现端口telnet不通、
2.开放防火墙
/sbin/iptables -I INPUT -p tcp --dport 3306 -j ACCEPT
service iptables save
/bin/systemctl restart iptables.service