Connection to the Atlass from mongo shell

The connection for the Atlass Server from mongo shell follows the unix command step. How can i connect with Windows OS?


That was my exact question. Thanks.

Sameway as you connect in Unix

Microsoft Windows [Version 10.0.17134.950]
© 2018 Microsoft Corporation. All rights reserved.

C:\Users>mongo “mongodb://,,” --authenticationDatabase admin --ssl --username m001-student --password m001-mongodb-basics
MongoDB shell version v4.0.5
connecting to: mongodb://,,

MongoDB server version: 3.6.13
WARNING: shell and server versions do not match
MongoDB Enterprise Cluster0-shard-0:PRIMARY> db
MongoDB Enterprise Cluster0-shard-0:PRIMARY> show dbs
100YWeatherSmall 0.117GB
admin 0.000GB
aggregations 0.067GB
citibike 0.361GB

1 Like