Created
February 26, 2015 19:47
-
-
Save rvmladenov/0fa8b79ad2b8d9d7ecd0 to your computer and use it in GitHub Desktop.
Settings for adding MongoDB as a Windows 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
1/ Add the bin folder to the Windows Path | |
2/ mongod --remove | |
3/ "mongod --dbpath=D:\mongodb --logpath=D:\mongodb\log.txt --install" Where 'D:\mongodb' is the mongodb install folder | |
4/ Open win services (in cmd execute "services.msc") and start the MongoDB service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment