This guide explains how to change a MySQL database user’s password in cPanel. You may need this when replacing a forgotten password or updating credentials used by a website or application.

Before you change the password

Set the new password

  1. Log in to the cPanel account that owns the database user. You do not need to log in as root.

  2. Open Databases > Manage My Databases. Older versions call this MySQL Databases.

    MySQL®Databases

  3. Under Current Users, find the correct user and select Change Password.

    Change Password

  4. Enter and confirm a strong password, then click Change Password.

    type in a new password

Update and test the applications

Update the password in each application’s database connection settings and test that it can read and write the required data. The change affects that database user, not the cPanel login or other independent database users.