ServerCake India

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

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

Editorial Team

Editorial Team at ServerCake India Blog is a team of experts in Server Administration, Business Development, Management, SEO Analyst & Graphic Designers with more than 5+ years of expertise.

Add comment