Front Side Chicken Road--mongodb

Source: Internet
Author: User
Tags unique id

MongoDB is a non-relational database (NOSQL) based on distributed file storage, written in the C + + language, designed to provide scalable, high-performance data storage solutions for Web applications. MongoDB supports a very loosely structured data structure, which is a JSON-like Bjson format, so you can store more complex data types. The biggest feature of MongoDB is that the query language it supports is very powerful, its syntax is somewhat similar to object-oriented query language, it can implement almost the most functions of a relational database single table query, and it also supports indexing data.

MongoDB does not have the concept of rows and tables in relational databases, but there are concepts like documents and collections. Document is the most basic unit in MongoDB each document is identified with a unique ID, the document's properties are key/value key-value pairs, and the document can be nested within another document, so you can store more complex data types.        A collection is the sum of many documents, a database can have multiple collections, and a collection can have multiple documents. --nodejs Combat

1.MongoDB Installation

Go to the official website, select the version you need to download, I choose to download the MSI installer.

After download run the installer, direct next, accept, will arrive at the step:

Select the above for a quick installation, the default path is C:\Program Files\mongodb, or you can select the following custom installation to install to the path of your choice.

After the installation is complete, open the cmd command line into the Bin folder under MongoDB.

CD Program Files\mongodb\server\3.2\bin

and set the database storage directory, as follows:

Mongod--dbpath E:\node\MongoDBdata

This installs successfully and starts the MongoDB database. Then enter http://127.0.0.1:27017/in the browser and you'll see a word like that in the browser.

Front Side Chicken Road--mongodb

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.