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


Step 1

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 Recommended VPS Hosting

Leave us a Reply

Your email address will not be published. Required fields are marked *

* *