Chapter 2: Find Command IDE Space exercise - Cannot connect to Atlas Cluster

Hi,

I was trying to connect to my Atlas Cluster before carrying on the Find command on IDE workspace given in the exercise. I have tried various ways but it wasn’t a success:

  1. Use the same command line as instructed by the lecturer
    Format: mongo “mongodb+srv://:@.mongodb.net/admin”
    Used: mongo “mongodb+srv://m001-student:m001-mongodb-basics@sandbox.mongodb.net/admin”

  1. Copied the connection string given on Atlas
    Format: mongo “mongodb+srv://sandbox.mdzkv.mongodb.net/myFirstDatabase” --username m001-student
    Used: mongo “mongodb+srv://sandbox.mdzkv.mongodb.net/admin” --username m001-student
    or : mongo “mongodb+srv://sandbox.mdzkv.mongodb.net/sandbox” --username m001-student
    Both didn’t work

You are successfully connected to your cluster
Issue the correct command.It will work
show dbs

I’ve retried with this connection string:
mongo “mongodb+srv://sandbox.mdzkv.mongodb.net/myFirstDatabase” --username m001-student

and it worked. Thanks for your help!