MongoDB Database Installation

Source: Internet
Author: User
Tags apache tomcat

first download the database on the official website, the official web provides two forms of the database, one is free installation version, one is installed version, this is similar to Apache Tomcat, the installation version has a visual interface to start and close the service, but still prefer to install free, not explained. You can download the corresponding database on the website according to your personal habits. The following is an example of the installation version.

When the download is complete, the database file directory is created.

MongoDB stores the database under the DB directory, but the directory is not created automatically, so we will first create the data catalog manually. Create the Data folder below the downloaded MongoDB folder and create the DB folder in the Data folder.


Start the service, enter the path of MongoDB under the DOS window, enter the bin file

The service of the MongoDB database has been started, the following test, another DOS window, enter the bin path MONGO

So the database is connected.

Simply use it.

View Database

Adding data to the admin database

MongoDB Database Installation

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.