I am not getting the databases and collections that for the connection string you have given

Connection String “mongodb+srv://m001-student:m001-mongodb-basics@cluster0-jxeqq.mongodb.net/test”


You are not connected to the cluster represented by the connection string you shared.

If you look at window’s title and the the field HOST, it is clear that you are connected to a local instance.

1 Like

can you share the string What should I connect

Search our forum.Many threads available on how to conenct to Class or Sandbox clusters

Try this

1 Like

Hi @Sai_Suhas_Kodumuru,

The connection strings for class Atlas cluster is given in this lecture : Chapter 0: Connecting to MongoDB Using Compass.

~ Shubham