How to reset the MySQL root password in WebHost Manager (WHM)

This article describes how to reset the MySQL root password using WebHost Manager (WHM). You may need to do this, for example, if you have forgotten the password.

  • 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:

  1. Log in to WHM.
  2. In the search box at the upper left of the WHM screen, start typing root, and then click MySQL Root Password when it becomes visible:

    WebHost Manager - MySQL Root Password menu

  3. In the Password and Password (again) text boxes, type the new password:

    WebHost Manager - MySQL Root Password page

    Alternatively, you can click Password Generator and WHM generates a strong, random password for you.
  4. Click Change Password. The new MySQL root password takes effect immediately.

More Information

To view the official cPanel documentation about changing the MySQL root password, please visit https://blog.cpanel.com/how-to-reset-the-mysql-root-password-and-mysql-user-passwords.

Get MySQL Hosting

Article Details

  • Operating System: Linux Hosting
  • Control Panel: cPanel
  • Level: Intermediate

Did you find this article helpful? Then you'll love our support. Experience the A2 Hosting difference today and get a pre-secured, pre-optimized website. Check out our web hosting plans today.

Usamos cookies con el fin de personalizar para usted nuestro sitio Web y analizar el uso de éste. Usted acepta esto haciendo clic en “Acepto” o al continuar usando el sitio Web. Hay más información sobre cookies en nuestra política de privacidad.