Help Center/ TaurusDB_TaurusDB for PostgreSQL/ User Guide/ Security and Encryption/ Resetting the Administrator Password to Restore root Access
Updated on 2025-11-14 GMT+08:00

Resetting the Administrator Password to Restore root Access

Scenarios

You can reset the administrator password only through a primary instance. The new password is applied immediately without rebooting the instance.

If you forget the password of the administrator account root, you can reset it.

Precautions

  • If the password you provide is regarded as a weak password by the system, you will be prompted to enter a stronger password.
  • If you have changed the administrator password of the primary DB instance, the administrator password of the standby DB instance will also be changed.
  • The time required for the new password to take effect depends on the amount of service data currently being processed by the primary DB instance.
  • To protect against brute force hacking attempts 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.
  3. Click in the upper left corner of the page and choose Databases > TaurusDB.
  4. On the Instances page, locate the target DB instance and choose More > Reset Password in the Operation column.
  5. If you have enabled operation protection, click Send Code in the displayed Identity Verification dialog box and enter the obtained verification code. Then, click OK.

    Two-factor authentication improves the security of your account and cloud product. For details about how to enable operation protection, see Identity and Access Management User Guide.

  6. Enter and confirm the new password.

    Keep this password secure. The system cannot retrieve it.

    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 must be strong to avoid being easily cracked, as weak passwords will block your operation. Enter a strong password and periodically change it for security reasons.
    • To submit the new password, click OK.
    • To cancel the reset operation, click Cancel.

Method 2

  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 > TaurusDB.
  4. On the Instances page, click the instance name.
  5. On the Basic Information page, find Administrator and click Reset Password under it.
  6. If you have enabled operation protection, click Send Code in the displayed Identity Verification dialog box and enter the obtained verification code. Then, click OK.

    Two-factor authentication improves the security of your account and cloud product. For details about how to enable operation protection, see Identity and Access Management User Guide.

  7. Enter and confirm the new password.

    Keep this password secure. The system cannot retrieve it.

    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 must be strong to avoid being easily cracked, as weak passwords will block your operation. Enter a strong password and periodically change it for security reasons.
    • To submit the new password, click OK.
    • To cancel the reset operation, click Cancel.