-
Notifications
You must be signed in to change notification settings - Fork 92
Database authentication
agirbal edited this page Jul 10, 2011
·
3 revisions
Once a mongo instance has been established, all of its databases will be listed in the tree. If a database requires authentication, a lock icon will be displayed on the node. To authenticate:
- either right click the database icon and click "authenticate" or click on "User / Authenticate" after selecting the database
- input the user/password and press ok.
- if successfully authenticated, the icon should now be an unlocked lock.
If authentication is required on the "admin" database, then the browser will be unable to display the list of databases and other operations, and a lock icon will be displayed on the mongo instance node. To authenticate against the admin database:
- click on the mongo instance, then select "Admin / Authenticate" in the menu.
- input the user/password and press ok.
- if successfully authenticated, the icon should now be an unlocked lock.
If you cannot authenticate against the the admin database but still want to use other non-authenticated databases, you need to list the database names in the Connect dialog when creating the mongo instance.