I have an error in Chapter 0: Introduction and Aggregation Concepts Atlas Requirement configurations

I have next error, anybody what im making wrong ?? error is marked in the beginning of admin world

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

Uncaught:

SyntaxError : Missing semicolon. (1:5)

> 1 | 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

| ^

2 |

It looks like you’re trying to run mongo inside of a mongo shell and not from the command prompt.

Thanks Doug that was the problem, I ran outside for mongo shell and work fine!!!

1 Like