RAJ SINGH
2018-05-26 14:08:10 UTC
Hi,
I have been trying to connect mongoDB shell from my local system to below
cluster used for mongoDB class on EDX portal :
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/100YWeatherSmall?replicaSet=cluster0-shard-0"
--authenticationDatabase admin --ssl --username m001-student --password
m001-mongodb-basics
Getting below error every time :
*2018-05-26T19:22:05.396+0530 E QUERY [thread1] SyntaxError: missing ;
before statement @(shell):1:6 *
I am able to connect successfully with Atlas cluster via mongoDB compass
from my system but shell connection has failed.
MongoDB version installed : 3.6
MongoDB Shell version : 3.6.5
Tried searching but was not able to resolve problem. Please could you help .
Thanks
raj
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
For other MongoDB technical support options, see: https://docs.mongodb.com/manual/support/
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user+***@googlegroups.com.
To post to this group, send email to mongodb-***@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/5ccde54e-1f46-4d64-8cc2-d12b162ffcc5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I have been trying to connect mongoDB shell from my local system to below
cluster used for mongoDB class on EDX portal :
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/100YWeatherSmall?replicaSet=cluster0-shard-0"
--authenticationDatabase admin --ssl --username m001-student --password
m001-mongodb-basics
Getting below error every time :
*2018-05-26T19:22:05.396+0530 E QUERY [thread1] SyntaxError: missing ;
before statement @(shell):1:6 *
I am able to connect successfully with Atlas cluster via mongoDB compass
from my system but shell connection has failed.
MongoDB version installed : 3.6
MongoDB Shell version : 3.6.5
Tried searching but was not able to resolve problem. Please could you help .
Thanks
raj
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
For other MongoDB technical support options, see: https://docs.mongodb.com/manual/support/
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user+***@googlegroups.com.
To post to this group, send email to mongodb-***@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/5ccde54e-1f46-4d64-8cc2-d12b162ffcc5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.