大部分按照这个来操作: https://blog.youkuaiyun.com/m0_47073109/article/details/119784255开启端口的命令改为: firewall-cmd --permanent --zone=public --add-port=3306/tcp