Installing MongoDB under Windows

Source: Internet
Author: User

Download installation directly omitted ...

Directly from the verification whether the successful start.

The path to the bin is now set in the environment variable.

In the terminal directly hit MONGO, if the version number indicates that the installation is successful.

Then turn on the MANGODB service: Create a new folder under the installation letter, the name is data, create a new folder in data, named DB. Play Mongodb-win32-i386-3.0.7\bin>mongod--dbpath in the catalogue e:/data

Then execute the MONGODB client and locate Mongo.exe open. After opening is also a similar terminal thing, in the client hit Db.test.find () enter

Then we'll do an addition try: Break into 3+3

Answer if output 6 that's right.

Then play show DBS, which will show the capacity used. I used 0.078GB here.

Installing MongoDB under Windows

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.