Updated on 2026-04-24 GMT+08:00

Resetting a Password for a Database Account

Scenarios

You can reset passwords for the accounts you have created. To protect your instance against brute force cracking, change your password periodically, such as every three or six months.

Constraints

  • This operation is not allowed for instances that are 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 in the upper left corner of the page and choose Database > Relational Database Service.
  4. On the Instances page, click the target DB instance to go to the Basic Information page.
  5. In the navigation pane on the left, choose Databases and Accounts and click the Accounts tab.
  6. Locate the target account and click Reset Password in the Operation column.
  7. In the displayed Reset Password dialog box, enter and confirm a new password, and click OK.

    • The password must contain 8 to 32 characters and at least four types of the following: uppercase letters, lowercase letters, digits, and special characters (~!). @ # $ % ^ * - _ = + ? , ( ) & . |
    • The password must be different from the username or username spelled backwards.
    • Enter a strong password to improve security, preventing security risks such as brute force cracking.
    • Resetting the password will not cause the instance to reboot or the permissions to change.