Updated on 2024-10-14 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.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select a region.
  3. Click in the upper left corner of the page and choose Databases > Relational Database Service.
  4. On the Instances page, click the instance name.
  5. In the navigation pane on the left, choose Accounts. On the displayed page, locate the target username and click Reset Password in the Operation column.
  6. In the displayed dialog box, enter a new password, confirm the password, and click OK.

    Figure 1 Resetting a password
    • 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 cannot contain the username or the username spelled backwards.
    • You are advised to enter a strong password to improve security and prevent security risks such as brute force cracking.
    • You can use Cloud Trace Service (CTS) to query the password reset records. For details, see Viewing Tracing Events.