Reputation: 786
I use mongo shell and server version 3.2.10 show dbs command works as expected. When I switch to any of my dbs, the show collections command does nothing. I tried with db.getCollectionNames() and I receive an empty array []. Using a tool like Robomongo shows my collections when I execute these commands. Am I doing somthing wrong?
Upvotes: 5
Views: 5822
Reputation: 786
I found my problem. I forgot that the database names are case senzitive. Using my database with capitalized first letter fixed the problem. Thank you anyway.
Upvotes: 11