随身笔记
随身笔记

解决:1045 access denied for user 'root'@'localhost' using password yes

mysql -u root -p
use mysql;
update mysql.user set authentication_string=password(‘密码’) where user=’root’ ;
重启

没有标签
首页      网络安全      解决:1045 access denied for user 'root'@'localhost' using password yes

随身笔记

解决:1045 access denied for user 'root'@'localhost' using password yes
mysql -u root -p use mysql; update mysql.user set authentication_string=password('密码') where user='root' ; 重启
扫描二维码继续阅读
2017-11-09