How to find mysql root password of a cPanel server via SSH

mysql-root-password

Login to your server as root via SSH.

Step 2

By default, MySQL root password is saved in the /root/.my.cnf file.
Open this file using command.

cat /root/.my.cnf

Step 3

Here you can see your server mysql root password.
mysql-root password

Our Top Rated Host

Related Posts