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](https://hostpresto.com/help/article/1)'. ![alt text](https://i.imgur.com/QRmld56.png "Resetting database password 1") * * * Scroll down to the '**Databases**' section and choose '**MySQL Databases**'. ![alt text](https://i.imgur.com/ypijhjZ.png "Resetting database password 2") * * * 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](https://i.imgur.com/m2YM3DN.png "Resetting database password 3") * * * 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](https://i.imgur.com/wBtsa4v.png "Resetting database password 4") * * * Once your new password has been entered, complete the process by choosing the '**Change Password**' option. ![alt text](https://i.imgur.com/fBWmSc8.png "Resetting database password 5") 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. * * *
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to log into cPanel

There are two different methods to log into your cPanel control panel in order to manage every...

What's the difference between Aliases, Addon and Subdomains?

### Aliases An Alias domain does not have a unique website. It is a domain that is masked to...

Creating a MySql Database

If your website uses PHP or you need to hold a collection of records which need to be accessed...

Importing a MySql Database

You can import a MySQL database via phpMyAdmin which is available in the cPanel control panel....

Exporting a MySql Database

You can export a MySQL database via phpMyAdmin, available in cPanel, if you want to keep a backup...