This topic describes how to set or reset a password for a standalone ApsaraDB for MongoDB instance if you did not set the password when you created the instance, want to change the password, or forget the password.


  1. Log on to the ApsaraDB for MongoDB console.
  2. In the upper-left corner of the page, select the resource group and the region of the target instance.
  3. In the left-side navigation pane, click Replica Set Instances.
  4. Find the target instance and click its ID.
  5. In the left-side navigation pane, click Accounts.
  6. Click Reset Password.
    Reset the password
  7. In the Reset Password dialog box that appears, enter and confirm the new password. Click OK.
    Enter a new password
    • The password must contain at least three types of the following characters: uppercase letters, lowercase letters, digits, and special characters. Special characters include ! # $ % ^ & * ( ) _ + - =
    • The password must be 8 to 32 characters in length.