In this step you have to create a folder for data in the root of drive C and put two folders db and log in this folder. Then enter the copied path and click OK.įor example this path: C:\Program Files\MongoDB\Server\3.6\bin. In the Control Panel, click on Advanced system settings, and at the bottom, click on Environment variables:Īfter opening the Path information, click New. To do this, you need to copy the path of the bin folder in MongoDB. This is so you can open and work the database wherever you are using Command-Line or CMD. Now for a faster startup, it’s best to add MongoDB to the global variables of Windows. You see a new folder called MongoDB has been added. Step 2: Add MongoDB to the global variablesĮnter drive C to test that the installation was performed correctly.
0 Comments
Leave a Reply. |