1. 添加用户html
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'your_passwd' WITH GRANT OPTION; FLUSH PRIVILEGES;
2. iptables里删除DROP 3306端口的规则mysql
iptables -L -n --line-numbers // 个人DROP 3306规则在第5行 iptables -D INPUT 5
参考资料:sql
1. 添加用户html
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'your_passwd' WITH GRANT OPTION; FLUSH PRIVILEGES;
2. iptables里删除DROP 3306端口的规则mysql
iptables -L -n --line-numbers // 个人DROP 3306规则在第5行 iptables -D INPUT 5
参考资料:sql
转载于:https://www.cnblogs.com/gattaca/p/6404896.htmlpost