Last active
February 20, 2018 03:55
-
-
Save selvaonline/42bcf4645298c36ec60c158837fad820 to your computer and use it in GitHub Desktop.
Mongo DB
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
Start Mongodb as a service - Mongodb Initial Setup Flags | |
Run the below command in CMD by running CMD as "Admin" | |
c:\mongodb\bin>mongod --logpath c:\mongodb\logs\mongo.log --dbpath c:\mongodb\data\db --directoryperdb --install | |
c:\mongodb\bin>net start MongoDB | |
Now You can see as below | |
C:\mongodb\bin>net start MongoDB | |
The MongoDB service is starting. | |
The MongoDB service was started successfully. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment