Take the 2-minute tour ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

I've made the following configuration options

port=64623 # [mo]ngodb
cpu=true # temporary for dev env

I've two databases

1. test
2. mydb

And then after connecting to a database, but when I type the command show dbs in the cmdline, it shows

local 0.078125GB

instead of my database names.

See the image.

show db

How to show my database names?

share|improve this question
What did you do to create the databases? can you list the contents of the D:\data\db folder and (if present) the D:\data\db\test and D:\data\db\mydb folders (since you are running with directoryperdb=true). –  Adam C Jan 25 '14 at 3:30
I simply used use mydb to create the database. Anyway, the issue it sort out. –  abhisekp Feb 5 '14 at 3:13
How did you sort out the problem? It sounds like perhaps the databases weren't created yet because you only did use db but did not actually insert data into a collection in that new db. –  Stennie Apr 16 '14 at 11:46

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.