MySQL从库怎么设置Linux的防火墙 error2003

来源:互联网 发布:淘宝评价修改步骤 编辑:程序博客网 时间:2024/06/06 19:26

首先需要查看主库的防火墙状态   service iptables status;

查看的更详细点 iptables -vnL    

1) 重启后生效 

  开启: chkconfig iptables on 

  关闭: chkconfig iptables off 



2) 即时生效,重启后失效 

  开启: service iptables start 

  关闭: service iptables stop 
可以这两个命令一起使用    这样就可以永久生效了 0. 0


0 0
原创粉丝点击