How to change a database user’s password

Update the password for a MySQL database user.

cPanel1 min read

Steps

  1. Open Manage My Databases

    In cPanel, go to Databases → Manage My Databases (called MySQL Databases on some versions).

  2. Find the user

    Scroll down to Current Users.

  3. Change the password

    Click Change Password next to the user, enter a new password, and click Change Password.

Tips

  • Update the password in your app’s settings file too, for example wp-config.php for WordPress, or your site will lose its database connection.

Related guides