1. First go to the mongoDB official website to download the corresponding computer version:
:
https://www.mongodb.com/download-center#community
2. Then start the installation. During the installation, a visual tool may appear in the lower left corner. Please do not choose it, because after choosing to download it,
It may take a lot of time to install this mongoDB, and the next step is next-> next-> next-> finish;
3. After installation, check whether your installation is successful through cmd, because it must be available after installation, what can't you use it for.
Test method: find mongo.exe in the installation path bin and execute it in cmd. If the execution is successful, it is best;
If it is not successful, it may be because of two missing files. First, create a Mongo.config file in the bin file.
Add in the Mongo.config file.
## Data storage location
dbpath = C: \ Program Files \ MongoDB \ Server \ 3.6 \ data
## All output locations
logpath = C: \ Program Files \ MongoDB \ Server \ 3.6 \ log \ mongo.log
After adding, you also need to create the corresponding files in these two corresponding locations,
Then save it and start executing in cmd:
mongo.exe --config C: \ Program Files \ MongoDB \ Server \ 3.6 \ bin \ mongo.config
Under normal circumstances, there will be no exceptions here, even if the installation of mongoDB is successful
4. Well, why didn't you choose the visualization tool that comes with it when you installed mongoDB earlier, just because it was too slow,
Next, we recommend choosing the visual tool studio 3t for mongoDB, which is easy and fast to install and has a bunch of registration codes online;
Download URL: https://studio3t.com/download/
ok! Everything is done, everyone uses mongoDB happily;
Install mongoDB locally on windows and install the visualization tool studio 3t