mysql错误 Access denied for user 'root'@'xxx.xxx.xxx.xxx' (using password: YES)

 

mysql -u root -p

Aaa111222333

grant all privileges on *.* to root@'%' identified by 'aaa111222333;  

Quit

lnmp restart

======================================

MySQL登录时出现 Access denied for user 'root'@'xxx.xxx.xxx.xxx' (using password: YES) 的原因及解决办法

http://blog.csdn.net/iw1210/article/details/54646093

给其远程访问密码

grant all privileges on *.* to root@'%' identified by 'aaa111222333;  

Quit

lnmp restart

原文地址:https://www.cnblogs.com/wujunbin/p/7468600.html