What is the full path of hidden file containing the MySQL Root Password?

MySQL Root Password Graphical Illustartion

What is MySQL Root Password:

There is no default password for MySQL database server. You need to assign a root password after installing it. Some administrators set the root password same as the server root password.

The full path to the hidden file containing the MySQL Root Password:

MySQL Root Credentials can be stored in a local file and that can be accessed only by the root user. Once connected to the server as root via SSH, the MySQL Root Password can be viewed by running the command /root/.my.cnf


Please enter your comment!
Please enter your name here