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

时间:2023-03-09 15:23:55
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