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. |
||
标签:-- avatar direct change over details rect socket ges
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. |
||
标签:-- avatar direct change over details rect socket ges
原文地址:https://www.cnblogs.com/ilovewindy/p/8191226.html
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