How to Install MongoDB 3.4 on Windows 10 and use RoboMongo

preview_player
Показать описание


How to Install MongoDB 3.4 on Windows 10 and use RoboMongo
In this video I’m going to show you how to install MongoDB on a Windows 10 machine. There’s a few different steps you need to take. First download the program from the mongodb website. Then edit your environment variables to include the location of your mongodb instance. Then make sure to add a data and bin folder to your C: drive.

Once mongoDB is installed on your system, you can start using the shell to create and manage databases and their collections. Lets also take a look at using RoboMongo. Using robomongo will provide us a GUI to interact with and view both databases and collections that we create.

We also explore how to use the simple and important commands in the mongodb shell such as ‘use’, ‘show dbs’ and ‘createCollection’.

Using Shell to access Mongo in Terminal
– mongod
– 'database' : 'mongodb://localhost/myDbName'
 
Using Shell via Terminal
– show dbs | use dbName | show collections
 
Create, Insert, Update, Find, Remove

Drop Datbase:
move into db using 'use'
Рекомендации по теме
Комментарии
Автор

I just want to say thank you. Before I watched your video, i spent many hours installing it but it didn't work. Thanks

phamcuong
Автор

Excellent video! Explained it much clearer than my professor did in a full hour.

joshr
Автор

Awesome video/doc. thank you, it's my first time trying out mongoDB and your video just hit bullseye.

Cali
Автор

link for the commands is not working anymore. Please provide some other link for the same.

priyankakaw
Автор

How to  upgrade from mongodb ver 3.2 to 3.4 on unix?

PritamKumar-brod
Автор

Thank you very much, it was very helpful.

bharatdarshanwithbhavesh
Автор

Very helpful for beginners like me..
tanks :)

tonihainuri
Автор

Hi, can you pls add new link to the commands ? the current link is 404.

stask