• Relational Database Service

rds
  1. Help Center
  2. Relational Database Service
  3. User Guide
  4. Managing DB Instances
  5. Security
  6. Resetting the Administrator Password

Resetting the Administrator Password

Scenarios

You can reset the administrator password only through the primary DB instance.

You cannot reset the administrator password under the following circumstances:

  • The database port is being changed.
  • The status of the primary DB instance is Creating, Restoring, Rebooting, Changing port, or Abnormal.
NOTE:
  • If you have reset the administrator password of the primary DB instance, the administrator passwords of the read replica and standby DB instance (if any) will also be changed accordingly.
  • The length of time it takes for the new password to take effect depends on the amount of service data currently being processed by the primary DB instance.
  • To prevent brute force cracking and ensure system security, change your password periodically, such as every three or six months.

Method 1

  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 to go to the RDS console.
  4. On the Instance Management page, locate the target DB instance and choose More > Reset Password in the Operation column.
  5. Enter a new password and confirm the password.

    Keep this password secure. The system cannot retrieve it.

    The new password must consist of 8 to 32 characters and must contain an uppercase letter, lowercase letter, digit, and any of the following special characters: ~!@#%^*-_=+? Enter a strong password and periodically change it to improve security, preventing security risks such as brute force cracking.
    • To submit the new password, click OK.
    • To cancel the reset, click Cancel.

Method 2

  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 to go to the RDS console.
  4. On the Instance Management page, click the target DB instance.
  5. On the displayed Basic Information page, click Reset Password in the Administrator field. In the displayed dialog box, enter a new password and confirm the password.

    Keep this password secure. The system cannot retrieve it.

    The new password must consist of 8 to 32 characters and must contain an uppercase letter, lowercase letter, digit, and any of the following special characters: ~!@#%^*-_=+? Enter a strong password and periodically change it to improve security, preventing security risks such as brute force cracking.
    • To submit the new password, click OK.
    • To cancel the reset, click Cancel.