Checkmark

Thank you for your feedback

Recover your database username and password

Forget your MySQL database login credentials? Here's how you can retrieve the information.

Article ID: SLN20634

Reset your database password

If you've forgotten your database username and password, you can reset your password and retrieve your username in cPanel.

  1. Sign in to your My Services page.
  2. Click the Web Hosting link.
    The Web Hosting link is under Control Panels.
  3. Click the MySQL Databases link in the Databases module. MySQL Databases Link.
  4. Scroll down to Current Users, select the user you want to change the password for and click the Change Password link.
    MySQL Current Users Password Change.
  5. Enter a new password in the Password field. Note: There is a 5 character minimum and a strength level of at least 65 for database passwords. To auto create a strong password, click the Password Generator button. A dialog box opens for additional options. 
    Password Field.
  6. Click the Change Password button.
    Change Password Button.
  7. You'll see a confirmation message that the password change was successful.
    Password Change Success.

Once you've changed the MySQL database password, be sure to change the password used in any of PHP or Perl scripts that access the database.