Exception: No digits

I get the following message when attempting the connection string in the cmd prompt. Please advise.

C:\Users\Chris>mongo “monogodb://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
MongoDB shell version v4.0.10
exception: No digits

Hi @Christine_00191,

There is spelling mistake in the above connection string. Please use the connection string below to connect to the class 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/test?replicaSet=Cluster0-shard-0” --authenticationDatabase admin --ssl --username m001-student --password m001-mongodb-basics

Please let me know, if you still face any issues.

Thanks,
Sonali

1 Like