How To Install And Run MongoDB (NoSQL Database) In Windows

Praveen Singh         No comments

First, visit here and download the MongoDB setup based on your system compatibility, like my windows is 32 bit so I had installed 32 bit version of MongoDB.



The setup file (mongodb-win32-i386-2.4.9.zip) will be around 88 mb and once it is done , just extract this archived file. If you go to the bin folder , you will be able to see the files as mentioned below :


We have to deal with two files here :
  1. Mongo     (the database shell)
  2. Mongod   (the core database server)

Also, Before you can start the MongoDB service, you need to create a data directory for MongoDB to store its files in.By default, MongoDB stores the data in the /data/db directory on Unix-based systems (e.g.,
Linux and OS X) and in the C:\data\db directory on Windows.

Open your command prompt and go to the bin directory , write mongod and hit enter :


Now open the second instance of the command prompt , go to the bin directory and write mongo :


Done !!

Published by Praveen Singh

A blogger by passion.You can find me tucked in my bed and blogging on weekends when not roaming around. Besides blogging, I love music and you can find my songs on my fb page:PraveenUnplugged
.
Follow on Youtube : Videos On Latest Happenings |ThingsToKnow
.
Follow us Talend In Action

0 responses:

© 2015 Techie's House. Designed by Bloggertheme9