Installing MongoDB into Windows

This article will help you to get to know the way of installing MongoDB in to Windows. Lets get started.

Step 01 : Download MongoDB from the website

Step 02: Install it by following the steps in the setup.

Step 03 : Move on to the bin folder in  MongoDB folder

Go through C:\Program Files\MongoDB\Server\3.6\bin to get the bin file. This path may change with the version that you are using.The window will looks like below.


Step 04: Install mongo and mongod applications init.

Open the command line in the bin folder to install mongod


There it shows  an error that a database is not found.Here you need to create folder called data in c:/ and inside it another folder called db to store any information stored in Mongo. Now again try the mongod command and see.

You will get an output like this which means that mongo is waiting for connections.



To install mongo as same we did above type mongo in the command line.Then type db and see whether you get the following output which means that you have successfully done it.






Comments

Popular posts from this blog

Java Part 2 :How to Install Java

Working with Buttons in Android Studio

Ruby - Dynamic, Open source programming language