If you did not set a password when you created an instance, or have forgotten the password, you can reset the password of the instance.

Procedure

  1. Log on to the ApsaraDB for MongoDB console.
  2. In the upper-left corner of the homepage, select the region of the instance.
  3. In the left-side navigation pane, click Sharding instances.
  4. Locate the target instance, and then click the instance ID.
  5. In the left-side navigation pane, click Accounts.
  6. Click Reset Password.


  7. In the Reset Password dialog box that appears, enter and confirm the new password. Click OK.


    Note
    • It must contain 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.