All Products
Search
Document Center

ApsaraDB for MongoDB:How can I change the password of a database in an ApsaraDB for MongoDB instance?

Last Updated:Mar 30, 2026

To set or reset the logon password for your ApsaraDB for MongoDB instance, see Reset a password. Use this procedure whether you skipped setting a password during instance creation, want to rotate it, or forgot it.

Note Do not log on to a database as the root user in a production environment. Create dedicated users and grant only the permissions they need. For details, see Manage user permissions on MongoDB databases using Data Management (DMS).

Applies to

  • ApsaraDB for MongoDB