Not able to connect to Class Atlas Cluster from terminal

I’m not able to connect to Class Atlas Cluster from Terminal

Searching through forum I found this:
mongo “mongodb://cluster0-shard-00-00-jxeqq.mongodb.net:27017,cluster0-shard-00-02-jxeqq.mongodb.net:27017/test?replicaSet=Cluster0-shard-0” --authenticationDatabase admin --ssl --username m001-student

But it doesn’t connect! I keep getting error:
MongoDB shell version v4.0.9
exception: No digits

Therefore I edited the query to this:
mongo “mongodb+srv://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” --username m001-student --password m001-mongodb-basics

It connects but the command:
show dbs
shows this:

admin 0.000GB
config 0.000GB
local 0.000GB

Please help

Your first command is fine.It prompts for pwd

C:>mongo “mongodb://cluster0-shard-00-00-jxeqq.mongodb.net:27017,cluster0-shard-00-02-jxeqq.mongodb.net:27017/test?replicaSet=Cluster0-shard-0” --authenticationDatabase admin --ssl --username m001-student
MongoDB shell version v4.0.5
Enter password:
connecting to: mongodb://cluster0-shard-00-00-jxeqq.mongodb.net:27017,cluster0-shard-00-02-jxeqq.mongodb.net:27017/test?authSource=admin&gssapiServiceName=mongodb&replicaSet=Cluster0-shard-0
MongoDB Enterprise Cluster0-shard-0:PRIMARY> db
test
MongoDB Enterprise Cluster0-shard-0:PRIMARY> exit

Your second command has space in it
FailedToParse: Bad digit " " while parsing 27017
try ‘mongo --help’ for more information

After removing space it failed again.Did it work for you?
C:>mongo “mongodb+srv://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” --username m001-student --password m001-mongodb-basics
FailedToParse: Only a single server may be specified with a mongo+srv:// url.
try ‘mongo --help’ for more information

Please correct as below and try

C:>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
MongoDB shell version v4.0.5
connecting to: mongodb://cluster0-shard-00-00
MongoDB Enterprise Cluster0-shard-0:PRIMARY> db
100YWeatherSmall
MongoDB Enterprise Cluster0-shard-0:PRIMARY>