Not able to connect to cluster M121

I tried connecting to cluster (Chapter 0 Lecture 2 Atlas Requirement )
mongo “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

Getting following error:
2019-10-21T01:13:37.904+0530 E QUERY [js] uncaught exception: SyntaxError: unexpected token: string literal :
@(shell):1:6

Please help.

You have to exit the mongo shell to do that.

2 Likes