Custom Search

Tuesday, May 28, 2019

How to show all users of all databases in mongodb


mongo -u root

use admin

show users;
db.getUsers()

db.system.users.find()

db.system.users.find().pretty()

No comments:

Post a Comment