Loading... 命令:[php]CREATE USER 'username'@'%' IDENTIFIED BY 'password';[/php] 创建一个可以任意主机连接的mysql用户 iptables设置 [php]iptables -A INPUT -p tcp -m tcp --sport 3306 -j ACCEPT iptables -A OUTPUT -p tcp -m tcp --dport 3306 -j ACCEPT[/php] service iptables save 保存规则 service iptables restart 重启iptables Last modification:December 26th, 2017 at 12:58 am © 允许规范转载 Support If you think my article is useful to you, please feel free to appreciate ×Close Appreciate the author Sweeping payments Pay by AliPay Pay by WeChat
666666 高手啊 iptables信手拈来