In the M001 class Atlas cluster you will find a database added just for this week of the course. It is called results. Within this database you will find two collections: surveys and scores. Documents in the results.surveys collection have the following schema.
What connection string you used?
Please connect to Class cluster (with substring jxeqq)
Once you are at mongo prompt
show dbs
you should see list of dbs
switch to results DB by
use results
show collections
2 Likes
Thanks a ton buddy !! It worked
I was using connecting as
mongo “mongodb+srv://sandbox-e0qwh.mongodb.net/test” --username m001-student --password m001-mongodb-basics
Now Changed as per your suggestion:
mongodb://m001-student:m001-mongodb-basics@cluster0-shard-00-00-jxeqq.mongodb.net:27017,cluster0-shard-00-01-jxeqq.mongodb.net:27017,cluster0-shard-00-02-jxeqq.mongodb.net:27017/test?authSource=admin&replicaSet=Cluster0-shard-0&readPreference=primary&ssl=true
Again thanks a ton.
Closing this thread as the issue has been resolved.