My HP

Resetting a Database Password

If you are experiencing problems connecting to your database and you would like to reset the database password, this help article explains what you need to do.

Databases themselves actually don't have passwords, but the database user that connects to the database does. Therefore, to resolve this problem, changing the database user password is required.


The first step is to log into your cPanel account. If you are unsure on how to do this, please view the following help article - 'How to log into cPanel'.

alt text

Scroll down to the 'Databases' section and choose 'MySQL Databases'.

alt text

Scroll down to the 'Current Users' section. Select the 'Change Password' option on the database user that connects to the database you are having password connection problems with.

alt text

Type in your new password for the database user in the 'Password' box and repeat again in the 'Password (Again)' box.

Note that there's a 'Password Generator' option if you would like the system to generate you a strong new password.

alt text

Once your new password has been entered, complete the process by choosing the 'Change Password' option.

alt text

Once this process has been done, you can now update your database connection details to use the new password in order to establish a successful database connection.

Resetting a database password by changing the database user password is now complete.