How to find MySQL root password

Server root MySQL password can be different from server root password. Here is how you can get root MySQL password.

Login as root via SSH and execute following command

tail /root/.my.cnf


cat /root/.my.cnf

This will show you the root MySQL password of your server.


Our Top Rated Host

Related Posts