MongoDB\bin\mongod.exe -help for help and startup options The waiting for connection message in the console results determines that the mongod.exe process is complete. This MongoDB starts the main databases process. To start MongoDB server, we need to run mongod.exe. Note that if the directory doesn’t exists, MongoDB will try to create it. Make this folder using the following commands from Command Prompt. The MongoDB default data directory path is \data\db. We need to create a directory where MongoDB server will store all it’s data. You can execute MongoDB from the folder of your choice and can install it in any folder (for, example D:\test\mongodb) MongoDB does not depend at any other system because it is self contained. For example, to move the folder to C:\MongoDB follow the steps shown in below images. This command needs to be run as administrator. Sometimes we want to move the installation to another directory, we can use move command for this.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |