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

版权声明:本文为wujunbin原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://www.cnblogs.com/wujunbin/p/7468600.html