![]() ![]() You can also specify an alternate data directory with -dbpath option. By default, it will store in “C:\data\db“, create this folder manually. MongoDB need a folder (data directory) to store its data. It’s recommended to add $MongoDB/bin to Windows environment variable, so that you can access the MongoDB’s commands in command prompt easily.Ĭreate a MongoDB config file, it’s just a text file, for example : d:\mongodb\nfig It’s really hard to believe for a developer like me who come from a relation database background. This is true, and that are the required files to MongoDB, In MongoDB, it contains only 10 executable files (exe) in the bin folder. Unzip, extracts to your prefer location, for example : d:\mongodb\. The MongoDB does not require installation, just download and extracts the zip file, configure the data directory and start it with command “mongod“.ĭownload MongoDB from official MongoDB website. ![]() In this tutorial, we will show you how to install MongoDB on Windows. How to Install and Config MongoDB on WIndows ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |