No me puedo conectar a la base Atlas en IOS

Ejecuto dentro de mongo

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
2019-07-26T11:49:53.040-0500 E QUERY [js] SyntaxError: missing ; before statement @(shell):1:clock6:

Me salgo de Mongo y ejecuto

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.3

exception: Bad digit " " while parsing 27017

y esta ultima linea es la que me sale con error me podrian ayudar?

Quedo atento

Please try to put your comments in English

I tried both your commands.They failed as you have empty spaces after commas and colon and other places too
Please remove all empty spaces and run.It will work

Hey @Javier_58422

Make sure you are not already inside the mongo shell. The first error you gave:
Asegúrate de no estar dentro de la cáscara del mongo.
El primer error que tienes:

Usually mean you are trying to run the command inside a mongo shell. Which I see you have figure out with
Por lo general, significa que está intentando ejecutar el comando dentro de un shell mongo. Que veo que has descubierto con

The Second error is likely about the spaces as @Ramachandra_37567 has pointed out.
El segundo error es probable sobre los espacios como @Ramachandra_37567 ha señalado
I copied and modified your command; the one below connects, and works great! :slight_smile:
Copié y modifiqué tu orden; el de abajo se conecta, y funciona muy bien!

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" --ssl --username m001-student --password m001-mongodb-basics --authenticationDatabase admin