Connect to Atlas Cluster

I get this error when I am trying to connect to Atlas Cluster

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
2019-10-21T13:07:47.657+0530 E QUERY SyntaxError: Unexpected string

You have to exit the mongo shell to do what you want tn do.

1 Like