mysql: reinit the password
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. |
||
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. |
||
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