Listing and showing All Databases in MongoDB

Listing and showing All Databases in MongoDB

A database in MongoDB is a group of collections (tables in RDBMS) and each collection contains multiple documents (rows in RDBMS).

To list MongoDB databses we'll use the "show dbs" command.

> show dbs
admin
local
test
yamicode
...