Mysql“using password: YES”的解决
发表于: 2014-11-15 作者:crane.ding 来源:转载 浏览:
取消收藏
收藏
摘要: 错误代码 1045
Access denied for user 'root'@'localhost' (using password:YES)
解决方法:重置root用户密码
ps -ef | grep -v grep | grep mysql | awk '{print $2}' | xargs kill -9
mysqld_safe --skip-grant-table
错误代码 1045
Access denied for user 'root'@'localhost' (using password:YES)
解决方法:重置root用户密码
ps -ef | grep -v grep | grep mysql | awk '{print $2}' | xargs kill -9
mysqld_safe --skip-grant-tables &
mysql -uroot -p
update user set password=password('123456') where user = 'root';
Mysql“using password: YES”的解决
-
0票

开心
-
0票

板砖
-
0票

感动
-
0票

有用
-
0票

疑问
-
0票

难过
-
0票

无聊
-
0票

震惊