How to change the password for my MySQL database on cPanel

Procédure

How to change my MySQL database password on cPanel

Sometimes you need to change the database password. For maintenance or security reasons, or if you are experiencing database connection errors.

In this article we'll take you through the steps involved in changing your database password using cPanel.

How to change my MySQL database password on cPanel

To change your MySQL database password :

  1. Connect to the cPanel interface
  2. In the "Database" section, click on "MySQL database".

How to change the password for my MySQL database on cPanel

  1. Scroll to the bottom of the following page, and click on the "change password" link located to the left of the MySQL user associated with the database.

How to change the password for my MySQL database on cPanel

3. Then click on the "Password Generator" button to generate a password automatically, then on the "Change Password" button to save the changes.

How to change the password for my MySQL database on cPanel

How to find the current database password :

The database password is listed in the configuration file for your software (such as wp-config.php if you have a WordPress site or configuration.php if you have a Joomla site).

These files are located in the "/public_html/" folder, you can use your cPanel file manager to find them.

Rate this article :

This article was useful to you ?

Article utileYes

Article non utileNo

Vous souhaitez nous laisser un commentaire concernant cet article ?

Si cela concerne une erreur dans la documentation ou un manque d'informations, n'hésitez pas à nous en faire part depuis le formulaire.

Pour toute question non liée à cette documentation ou problème technique sur l'un de vos services, contactez le support commercial ou le support technique

MerciMerci ! N'hésitez pas à poser des questions sur nos documentations si vous souhaitez plus d'informations et nous aider à les améliorer.


Vous avez noté 0 étoile(s)

Similar articles

1mn reading

How do I create a MySQL database in cPanel?

2mn reading

How do I manage MySQL databases with phpMyAdmin in cPanel?

2mn reading

How do I create a MySQL user account with limited privileges?

1mn reading

How to connect to a remote database in cPanel


Ask the LWS team and its community a question