- You must have root access on the server to reset the MySQL root password.
- Remember that the MySQL root password is different from the root account password. The following procedure only changes the password for the MySQL root user, not the server’s root user.
Resetting the MySQL root password
To reset the MySQL root password using WHM, follow these steps:-
Log in to WebHost Manager.
📘 Note If you do not know how to log in to your WebHost Manager account, please see this article.
-
In the search box at the upper left of the WHM screen, start typing mysql root, and then click MySQL Root Password when it becomes visible:
-
In the Password and Password (again) text boxes, type the new password:
👍 Tip Alternatively, you can click Password Generator and WHM generates a strong, random password for you.
- Click Change Password. The new MySQL root password takes effect immediately.