Because the computer reinstalled the system, so to reinstall the development environment, according to a previously written blog described the steps to install, found that reported some errors, the following are the problems encountered and solutions:
First download installs not to say more,: https://www.mongodb.com/download-center#community
Download and unzip to D or E drive. Then add the environment variable (the last PATH is the address of the extracted MongoDB down bin directory)
Then create the database data directory, previously said directly in the CMD input
Mongod--dbpath D:\MongoDB\data
The computer will report the following error:
This is because MSVCP120.dll is not installed on the computer after reinstalling the system, and this issue is reported when some other applications are opened. So download this library file and install it.
MSVCP120.dll:
Http://www.veryhuo.com/down/html/114295.html (32-bit)
Http://www.veryhuo.com/down/html/64555.html (64-bit)
Download the installation and then execute the command as shown below:
This is because the data directory is not found, very simple, under MongoDB manually create a new data folder and then execute this command again.
Look at the Data folder and discover a lot more things:
Open the browser, enter localhost:27017 or 127.0.0.1:27017,
Finally, visit the MONGO database in CMD, as follows:
Installing and configuring MongoDB under Windows (ii)