How do I reset a database user's password? Print

  • 0

Change a MySQL user's password from cPanel:

  1. Log in to cPanel from your client area and open MySQL Databases.
  2. Scroll to Current Users, find the user, and click Change Password.
  3. Enter a new strong password (use the generator), confirm, and save.

Important: after changing it, update the same password everywhere your application stores it, for example WordPress's wp-config.php (DB_PASSWORD) or your app's .env file. If you miss this, the site will show a database connection error. If you cannot recall which file holds the credentials, open a ticket.


Was this answer helpful?

« Back