MongoDB Installation and command operation

Source: Internet
Author: User
Tags mongodb download

MongoDB: https://www.mongodb.com/download-center#community;

MongoDB download After the installation, choose Custom Installation, installed into a root directory, such as c,d,e,f disk;

After MongoDB is installed, there will be a bin folder in the root directory just defined;

MongoDB connection command: 1.cd bin,2.mongod.exe--dbpath e:\data\db\

(explained here) after installing MongoDB to customize the installation is because everyone is likely to find no where to go; after the installation of the Bin folder is basically installed in the application files, that is, ". exe" end of the file; To connect to MongoDB need to borrow cmd command box, First find the Bin folder where, and then the opposite of the application to operate; The database needs to be executed Mongod.exe "--" followed by specifying where you want to save the database resources.

Next is the operation on MongoDB. Many tutorials are very simple to write, but in fact, after connecting to the database, but also open a cmd command box, in order to successfully execute the command to operate the database in the case of the database. The cmd command box that is connected to the database cannot do anything.

There are many commands for database operations on MongoDB, where n characters are omitted.

After the MongoDB download is installed, there will be a leaf-shaped application that appears in all programs in the Start menu and opens to visualize your MongoDB database. MongoDB is very user-friendly, JS can operate (Nodejs execution), command can operate, visual window can also operate.

In the comprehensive.

MongoDB Installation and command operation

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.