First, Description: MongoDB learning, very recommended to the Novice tutorial, which has a very detailed tutorial. Attach the installation tutorial http://www.runoob.com/mongodb/mongodb-window-install.html here. This is mostly about recording the pits.
Second, the installation progress bar stuck. Because the latest version is 3.6 when I download it. It was stuck for half an hour at the time of installation. I thought the installation time was relatively long. So I did not turn off the computer Let it install, go to sleep. And then woke up the next day to still be stuck in this state.
Workaround: 1, close the installation window, direct shutdown no response, you must use Task Manager to force the end of the task to close the process
2, because the previous installation using the default installation path, C:\Program Files\mongodb, must manually go to the C drive to find this file and delete it
3, to the official website Download 3.4 version. and re-install
Iii. Precautions for installation
1, installation, there is a default installation and, custom installation, after installation to the root directory to create the Data\db,data\log folder
If the default is installed on the C drive, C:\Program Files\mongodb, you must create the following folder in the C drive in C:\data\db, C:\data\log
If the custom installation is on the D drive, you must create the following folder on the D drive D:\data\db, D:\data\log
If you do not create a question, it will appear mongo.exe/ mongod.exe Double click to close
Learning from MongoDB