fosshelp
Tuesday, May 28, 2019
How to list all databases in the mongo shell
mongo -u root
use admin
show dbs;
db.adminCommand('listDatabases')
db.system.users.find()
db.system.users.find().pretty()
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment