iptables -I INPUT -p tcp --dport 3306 -j ACCEPT
iptables -I INPUT -p tcp --sport 3306 -j ACCEPT
use mysql;
GRANT ALL ON *.* TO root@'*' IDENTIFIED BY 'admin' WITH GRANT OPTION;
iptables -I INPUT -p tcp --dport 3306 -j ACCEPT
iptables -I INPUT -p tcp --sport 3306 -j ACCEPT
use mysql;
GRANT ALL ON *.* TO root@'*' IDENTIFIED BY 'admin' WITH GRANT OPTION;
本文标题:防火墙设置
本文链接:https://www.haomeiwen.com/subject/gqghuqtx.html
网友评论