C:\>C:\MongoDB\bin\mongod.exe -dbpath "D:\test\mongo db data" If your path contains white spaces, then you need to use double quotes as shown below. You can use a different path for data files using the –dbpath option to mongod.exe, for example: C:\>C:\MongoDB\bin\mongod.exe -dbpath D:\test\mongodb\data 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. For example, from the Command Prompt C:\>C:\MongoDB\bin\mongod.exe 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. Download mongodb for windows 7 64 bit install#You can execute MongoDB from the folder of your choice and can install it in any folder (for, example D:\test\mongodb)
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |