登录mysql,提示mysql Access denied for user 'root'@'localhost' (using password: YES)
如题,登录mysql时提示:# mysql -uroot -p
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
# mysql -uroot -pf3TSztw3J9
Warning: Using a password on the command line interface can be insecure.
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
总是提示这样,系统是centos7.1,搞了一天,google、百度了很久也没有解决,
已经按 @军哥 这篇帖子操作过,但还是不行 https://bbs.vpser.net/thread-1168-1-1.html
哪位知道这是什么情况吗,帮忙解决下,这个问题导致开发环境不可用,郁闷中。 重置一下密码试试
页:
[1]