Created
November 30, 2016 14:46
-
-
Save malkitsingh/2de8fd5ca7992e00f9c5a4ed01d57152 to your computer and use it in GitHub Desktop.
Running Mondo DB as a Service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Make sure that you added you /bin directory to you system variable PATH | |
D:\mongodb\bin>mongod --remove | |
First I executed this command after opening command prompt as administrator: | |
D:\mongodb\bin>mongod --dbpath=D:\mongodb --logpath=D:\mongodb\log.txt --install | |
After that right there in the command prompt execute: | |
services.msc | |
Taken from http://stackoverflow.com/questions/2438055/how-to-run-mongodb-as-windows-service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment