How to change MySQL root password from WHM?

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.

  1. Login to WHM with root user.
  2. Under SQL Services category. Locate and select MySQL Root Password option.

    Mysql root Password

  3. 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 indicator will indicate how strong your password is. Alternatively, you can use the Password Generator to create a strong and random password.

    Reset Password

  4. 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.

Related Articles

How to take a Backup and Restore of MySQL Databases via Command Line?

mysqldump is an easy and quick tool to create a backup of MySQL databases. It creates a dump file...

How to enable the slow query log in MySQL?

Slow MySQL queries can significantly lower down the performance of your web application and eat...

How to connect MySQL using node js?

This article will show you how to connect to a MySQL database using the Node.js. Note: Node.js...

How to rename MySQL Database from cPanel?

cPanel offers MySQL Database rename option. Renaming MySQL Database requires while migrating...

How to check MYSQL Database size in phpMyAdmin and via command?

Sometimes it is required to check the MySQL Database size. You can check it from the phpMyAdmin...

  • 0 Users Found This Useful

Was this answer helpful?