Resetting the Administrator Password

Scenarios

You can reset the administrator password of a GaussDB(openGauss) DB instance.

If you forget the password of your database account when using GaussDB(openGauss), you can reset it.

Precautions

  • If you have changed the password of the primary node, the password of the standby node will also be changed accordingly.

  • The volume of data being processed by the primary node determines how long it takes for the new password to take effect.

  • To prevent brute force cracking and ensure system security, change your password periodically.

Method 1

  1. Log in to the management console.

  2. Click image1 in the upper left corner and select a region and a project.

  3. Click Service List. Under Database, click GaussDB.

  4. In the navigation pane on the left, choose GaussDB(openGauss) > Instance Management.

  5. On the Instance Management page, locate the target DB instance and click More > Reset Password in the Operation column.

  6. Enter a new password and confirm the password.

    • To submit the new password, click OK.

    • To cancel the reset operation, click Cancel.

    Important

    Keep your password secure because you cannot retrieve it from the system.

    The new password must meet the following requirements:

    • Contains 8 to 32 characters.

    • Contains at least three types of the following: uppercase letters, lowercase letters, digits, and special characters (~!@#%^*-_=+?,).

Method 2

  1. Log in to the management console.

  2. Click image2 in the upper left corner and select a region and a project.

  3. Click Service List. Under Database, click GaussDB.

  4. In the navigation pane on the left, choose GaussDB(openGauss) > Instance Management.

  5. On the Instance Management page, click the target DB instance.

  6. In the DB Information area on the Basic Information page, click Reset Password in the Administrator field.

  7. Enter a new password and confirm the password.

    • To submit the new password, click OK.

    • To cancel the reset operation, click Cancel.

    Important

    Keep your password secure because you cannot retrieve it from the system.

    The new password must meet the following requirements:

    • Contains 8 to 32 characters.

    • Contains at least three types of the following: uppercase letters, lowercase letters, digits, and special characters (~!@#%^*-_=+?,).