How to setup MongoDB server in Windows
How to setup MongoDB server in Windows.
Step 1
Copy setup folder to your pc.
It should include 3 folders as follows. If log folder is not there you can create it manually.
Step 2
Go to 'mongoDB_Setup\bin' location and find mongo.conf file.
We need to do some changes in this file.
set path to data folder and log file.
Save file and close.
Step 3
Double click 'StartMongo.bat' file and run the server.
Step 1
Copy setup folder to your pc.
It should include 3 folders as follows. If log folder is not there you can create it manually.
Step 2
Go to 'mongoDB_Setup\bin' location and find mongo.conf file.
We need to do some changes in this file.
set path to data folder and log file.
Save file and close.
Step 3
Double click 'StartMongo.bat' file and run the server.
If everything went correct you will get a command prompt as follows.
Comments
Post a Comment