How to show database names in mongodb


View all database names and space usage in mongodb


show dbs


show dbs : show database names


admin             0.000GB
test          51.848GB
config            0.000GB
local             0.000GB
Was this helpful?

I hope to help every developer quickly find the commands they need. Of course, you can also add your own commonly used commands for easy searching.