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

MongoDB – Show Databases

MongoDB show databases

Connect to the MongoDB shell and then execute show dbs command to list all the currently available database on MongoDB server.

> show dbs

local           0.000GB
mydb            0.001GB
tecadmin        0.083GB

You can select any database using the use statement and work on it.

Tags , ,
Was this article helpful to you? Yes 8 No 3
Advertisement