Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Settings for adding MongoDB as a Windows Service
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
You can’t perform that action at this time.