Updated on 2022-08-16 GMT+08:00

Resetting a Password for a Database Account

Scenarios

You can reset passwords for the accounts you have created. To protect against brute force hacking attempts and ensure system security, change your password periodically, such as every three or six months.

Constraints

Passwords cannot be reset for DB instances that are in the process of being restored.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click Service List. Under Database, click Relational Database Service. The RDS console is displayed.
  4. On the Instance Management page, click the target DB instance.
  5. In the navigation pane on the left, choose Accounts. On the Accounts page, locate the target username and click Reset Password in the Operation column.
  6. In the displayed Reset Password dialog box, enter and confirm a new password, and click OK.

    • The password must consist of 8 to 32 characters and contain at least three types of the following characters: uppercase letters, lowercase letters, digits, and special characters (~!@#$%^*-_=+?,).
    • The password you entered in the Confirm Password text box must be the same as that you entered in the New Password text box.
    • After the password is reset, the database will not be rebooted and permissions will not be changed.