MongoDB Installation
for Windows
- Download
Mongo DB from site for windows
URL::
https://www.mongodb.com/download-center?jmp=nav#community
- Install
the downloaded file in C drive
- Create
a file folder in C drive in below location
location:: C:\data\db
- Create a file folder in C drive in below location
location:: C:\mongodb\db
- Type
the below command in command prompt
Command:: C:\MongoDB\Server\3.2\bin>mongod.exe --dbpath
"c:\mongodb\data"
- To
start mongodb type below command in new command prompt
Command::
C:\MongoDB\Server\3.2\bin>mongo.exe
Now
your MongoDB is ready to work