Resetting Password

Last updated: 2020-04-01 16:46:03


Operation Scenarios

If you forgot your database account password or need to change it while using TencentDB for MySQL, you can reset it in the console.

  • For TencentDB for MySQL, the password resetting function has been connected to CAM; therefore, you are recommended to exercise tighter control over the permission to the password resetting API or sensitive resources of TencentDB for MySQL instances by granting such permission only to appropriate personnel.
  • For data security, you are recommended to regularly reset the password at least once every three months.


  1. Log in to the TencentDB for MySQL Console.
  2. In the instance list, select the instance for which to reset the password and click the instance name or Manage in the Operation column to enter the instance management page.
  3. Select Manage Database > Manage Account, find the account for which to reset the password, and select More > Reset Password.
  4. In the pop-up dialog box, enter and confirm the new password and then click OK.

    The database password should contain 8–64 characters in at least two of the following character types: letters, digits, and special symbols (_+-&=!@#$%^*()).

API Name Description
ModifyAccountPassword Modifies the password of a TencentDB account