This topic describes how to reset the password of an account on an ApsaraDB RDS for MySQL instance. If the password of an account is lost, you can reset the password in the ApsaraDB RDS console.

Procedure

Note For data security purposes, we recommend that you change passwords on a regular basis.
  1. Access RDS Instances, select a region at the top, and then click the ID of the target RDS instance.
  2. In the left-side navigation pane, click Accounts.
  3. On the tab that appears, find the account for which you want to reset the password and click Reset Password in the Actions column.
  4. In the dialog box that appears, configure the New Password and Confirm New Password parameters and click OK.
    The password must meet the following requirements:
    • The password is 8 to 32 characters in length.
    • The password contains at least three types of the following characters: uppercase letters, lowercase letters, digits, and special characters.
    • The password can contain the following special characters: ! @ # $ % ^ & * ( ) _ + - =
    Note If your RDS instance runs MySQL 5.7, you can configure a custom password policy for your instance. For more information, see Configure a custom password policy for an ApsaraDB RDS for MySQL instance.

Related operations

OperationDescription
ResetAccountPasswordResets the password of an account on an instance.