1. Home
  2. MongoDB Tutorial
  3. MongoDB – Show Databases

MongoDB – Show Databases

Interface with the MongoDB shell and afterwards execute show DBS command to list all the as of now accessible database on MongoDB server.

To List databases in MongoDB use below command,

>show dbs

Output:

>show dbs

local 0.4352GB

test 0.1265GB

Employee 0.2431GB
Was this article helpful to you? Yes No

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.