What is a Mongo database vs. a cluster?

Viewed 793

This is the newbiest question ever but I don't understand these instructions from MongoDB:

Replace DATABASE with the name of the database you wish to import/export to your cluster, and COLLECTION with the name of the collection you wish to import/export to your cluster.

I understand what "collections" are because I see them in the admin panel under "collections."

But I don't see "databases" listed anywhere, nor do I see clusters.

If my account dashboard shows this:

MyProject > Cluster0 > MyCollection

What do I write here?

mongo "mongodb+srv://CLUSTER.kaarp.mongodb.net/DATABASE"

1 Answers

It is confusing for me too. I am using MongoDB Atlas and I discovered that, when you create a collection for the first time, you are asked to create a database name. As far as I understand, the hierarchy goes cluster > database > collection.

Related