Friday, 4 June 2021

Mongo shell: Show all the databases

‘show databases’ command print all the databases.

> show databases;
admin   0.000GB
config  0.000GB
local   0.000GB

 

‘admin’, ‘config’ and ‘local’ databases are for internal use and store mongoDB metadata.

 

 

Previous                                                    Next                                                    Home

No comments:

Post a Comment