In this article, we will describe steps to change the root password of MySQL server from WHM. This article is only applicable to Linux VPS and Dedicated server customers.
Login to WHM with root user.
Under SQL Services category. Locate and select MySQL Root Password option.
At next screen, you'll have to enter new MySQL root password.
NOTE: MySQL root password can be used to gain access to every database on your system, you should set this to something that is very hard to guess.
If you enter the password manually, make sure you use a combination of letters (upper and lower case), numbers and special characters. As you enter the new password in the box, Strength indicatorwill indicate how strong your password is. Alternatively, you can use the Password Generator to create a strong and random password.
Once you write down the new password in a safe place, click on the Change Password button. Upon successful password change, you will receive a screen stating your new password.