Chapter 0: Introduction and Aggregation Concepts - Outdated connection string in the notes

Hi all,

for me the connection string in the notes wasn’t working. I’ve used this instead:

mongosh "mongodb://cluster0-shard-00-00-jxeqq.mongodb.net:27017,cluster0-shard-00-01-jxeqq.mongodb.net:27017,cluster0-shard-00-02-jxeqq.mongodb.net:27017/aggregations?replicaSet=Cluster0-shard-0" --authenticationDatabase admin --ssl -u m121 -p aggregations --norc

Hi @Roberto_Delrosso, welcome to the community.
Thanks for bringing this up.
Can you please share the error you were facing before?

In case you have any doubts, please feel free to reach out to us.

Thanks and Regards.
Sourabh Bagrecha,
Curriculum Services Engineer

can you check my error, I have downloaded mongoshell and mongodb compass, don’t know what to do after that, I was trying to connect using the string provided in the contents.

Did you try with mongosh?

1 Like

Hi @Roberto_Delrossom, did you try again using mongosh?
Please let us know whether it worked for you or not.

In case you have any doubts, please feel free to reach out to us.

Thanks and Regards.
Sourabh Bagrecha,
Curriculum Services Engineer

@VR1, when you click on _MONGOSH from Compass you are already connected to the same cluster as your Compass connection.

This means you do not have to type the command

mongo "mongodb://..."

like you did.

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.