查看防火墙
firewall-cmd -–list-all
开启3306端口(MySQL)
firewall-cmd -–permanent -–add-port=3306/tcp
重启防火墙
service firewalld restart