centos7开启3306端口

 /sbin/iptables -I INPUT -p tcp --dport 3306 -j ACCEPT

  

原文地址:https://www.cnblogs.com/lab-zj/p/12843281.html