linux mysql不能远程登录

service iptables stop 

GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '<root-password>' WITH GRANT OPTION

 

 

flush privileges;

 

 

 

./nginx -s reload重启NGINX

posted @ 2018-10-06 14:45  637  阅读(117)  评论(0编辑  收藏  举报