General question : sample databases


I installed mongo locally, but I do not see the sample databases… ?
How do I get them to show up when I use the command “show dbs” ? ( I think that is the right syntax )


What sample databases are you expecting to see?

Here are the DBs ( from this lesson )

It states I should also see the following collections:


How did you connect to your mongodb?
What connect string you have used and on which db you were when you ran show dbs

All those collections are under aggregations db

Hi @Michael_Liss,

To connect to the Class Atlas Cluster, use the following connection string:

mongo “mongodb://,,” --authenticationDatabase admin --ssl -u m121 -p aggregations --norc

You can then type the following commands to view the db and collections:

show collections

Please feel free to reach out if you have any questions.