Last active
January 26, 2018 20:35
-
-
Save unicornist/765e4a27fc4807f0543377523da46535 to your computer and use it in GitHub Desktop.
Install 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
cd %programfiles%\MongoDB\Server\3.6\bin | |
mongod --dbpath="%programdata%\Mongo\Data" --logpath="%programdata%\Mongo\log.txt" --install && net start MongoDB |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment