This topic describes how to set or reset a password for a sharded cluster instance.

Procedure

  1. Log on to the ApsaraDB for MongoDB console.
  2. In the upper-left corner of the page, select the resource group and region to which the instance belongs.
  3. In the left-side navigation pane, click Sharded cluster instance.
  4. On the page that appears, find the instance that you want to manage and click its ID.
  5. In the left-side navigation pane, click Accounts.
  6. Click Reset Password in the Actions column.
  7. In the Reset Password panel, configure the following parameters.
    ParameterDescription
    AccountSet the value to root.
    New PasswordSpecify the new password of the account based on the following rules:
    • The password must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. Special characters include

      !@#$%^&*()_+=

    • The password must be 8 to 32 characters in length.
    Confirm New PasswordEnter the new password again.