You can reinit the password : 1.stop mysql
2.start mysql safe :
3.connect to mysql
4.change the password
5.stop mysql
6.start mysql
Then you can connect to mysql with login root and the new password. |
||
mysql: reinit the password
Posted IWS
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了mysql: reinit the password相关的知识,希望对你有一定的参考价值。
以上是关于mysql: reinit the password的主要内容,如果未能解决你的问题,请参考以下文章
MySQL8.0提示 caching_sha2_passwor‘ cannot be loaded
解决mysql:ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using passwor
解决mysql:ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using passwor
解决mysql:ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using passwor
Django链接Mysql 8.0 出现错误(1045:Access denied for user 'root'@'localhost' (using passwor
Web项目打成war包部署到tomcat时报MySQL Access denied for user 'root'@'localhost' (using passwor
mysqld_safe
resulted in SOCKET file errors. I was able to fix these by manually making the directory and then giving it to the mysql user. See this answer. (Mint 18, mysql 5.7) – Deleet Sep 20 ‘17 at 10:33