Installing and configuring MongoDB under Windows (ii)

Source: Internet
Author: User

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)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.