Page tree
Skip to end of metadata
Go to start of metadata

This document is for a previous release of cPanel & WHM. To view our latest documentation, visit our Home page.

For cPanel & WHM 11.46

(Home >> SQL Services >> Reset Local MySQL Root Password)


Use the MySQL Root Password feature to reset your local MySQL root password in the event that it is lost or compromised.


This feature will result in a brief security risk to your server and an interruption of MySQL service; therefore, it should only be used as a last resort during times of low traffic, when you encounter a file permissions error with the MySQL Root Password feature.

Reset password

To reset the password, perform the following steps:

  1. Enter and confirm the new password in the appropriate text boxes.


    • The system grades the password that you enter on a scale of 100 points. 0 indicates a weak password, while 100 indicates a very secure password.
    • Some web hosts require a minimum password strength. A green password Strength meter indicates that you met the required password strength.
    • Click Password Generator to generate a strong password. For more information, read our Password Generator documentation.


    Do not use asterisks (*), periods (.), or any other special characters in your MySQL root password. If you do so, phpMyAdmin will not function. If you use the Password Generator, deselect the Symbols box.

  2. Click Change Password.