Error with symbol

MongoDB Enterprise > 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/test?replicaSet=Cluster0-shard-0” --authenticationDatabase admin --ssl --username m001-student --password m001-mongodb-basics
2018-11-09T21:27:39.374-0600 E QUERY [js] SyntaxError: missing ; before statement @(shell):1:6

Not sure what I am doing wrong here

I’m also getting the same error. Have you found any solution for it ?

I think I found the solution. You should type exit or quit() so that you close the current connection, and then paste the command into the terminal

1 Like

Correct. You were trying to start a new mongo shell from inside the mongo shell. That is nonsensical.