Skip to main content

MongoDB: Install client on Windows 10













Mongo Shell help

Run mongo shell, then run help to display commands.

help

Try using mongo shell to connect to 100YWeatherSmall database

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
Using mongo shell to connect to 100YWeatherSmall database

Popular posts from this blog

GNU nano Text Editor

nano - Nano's ANOther editor, an enhanced free Pico clone

Powershell: head and tail command

Use head or tail to skim the first or last 5 lines.

Using Powershell to manage Hyper-V

Common powershell cmdlets to manage Hyper-V.