Updated on 2023-11-21 GMT+08:00

Resetting the Administrator Password

Scenarios

For security reasons, regularly change your administrator password.

Precautions

  • If the instance status is Available, Backing up, Checking restoration, Scaling up or certain nodes become abnormal, you can reset the administrator password.
  • If you enable operation protection to improve the security of your account and cloud products, two-factor authentication is required for sensitive operations. For details about how to enable operation protection, see Identity and Access Management User Guide.

Method 1

  1. Log in to the management console.
  2. In the service list, choose Databases > GeminiDB Mongo API.
  3. On the Instances page, locate the instance you want to reset the password for and choose More > Reset Password in the Operation column.
  4. Enter and confirm the new administrator password and click OK.

    The password must be 8 to 32 characters in length and contain uppercase letters, lowercase letters, digits, and any of the following special characters: ~!@#%^*-_=+?

  5. If you have enabled operation protection, click Start Verification in the displayed dialog box. On the displayed page, click Send Code, enter the verification code, and click Verify. The page is closed automatically.

Method 2

  1. Log in to the management console.
  2. In the service list, choose Databases > GeminiDB Mongo API.
  3. On the Instances page, click the instance. The Basic Information page is displayed.
  4. In the DB Information area, click Reset Password in the Administrator field.
  5. Enter and confirm the new administrator password and click OK.

    The password must be 8 to 32 characters in length and contain uppercase letters, lowercase letters, digits, and any of the following special characters: ~!@#%^*-_=+?

  6. If you have enabled operation protection, click Start Verification in the displayed dialog box. On the displayed page, click Send Code, enter the verification code, and click Verify. The page is closed automatically.