Created
April 8, 2014 22:05
-
-
Save SteveMcArthur/10200226 to your computer and use it in GitHub Desktop.
Mongodb - starting up and setting dbpath
This file contains hidden or 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
::start mongo db - navigate to location of mongodb\bin and run the mongod exe | |
mongod | |
::startup and set db data path | |
mongod --dbpath F:\mongodb\data | |
::bat file to do the same without closing after its executed | |
cmd /k mongod --dbpath F:\mongodb\data | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment