Resetting Password

Last updated: 2021-07-12 09:47:50

    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. In the instance list, click an instance ID or Manage in the "Operation" column to enter the instance management page.
    2. Select Database Management > Manage Account, find the account for which to reset the password, and select More > Reset Password.
    3. 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 TencentDB account