How MongoDB Detects installation success

Source: Internet
Author: User
Tags mongodb server

MongoDB Home Page http://www.mongodb.org/

1, first on the internet to download a MongoDB installation package, and then open the cmd command, find the path of your mongodb files, into the MongoDB file under the Lib file, and finally executed under the cmd command

Mongod.exe--dbpath D:\mongodbData (You create a new folder, the MongoDB folder is a data file, the path is D:\mongodbData)

Mongod.exe server run the execution file can set the port number of MongoDB, data file storage directory, etc.

Mongo.exe a query that the client uses to connect to MongoDB and make relevant data

(Cmd does not turn off)

2, new open a CMD input: cd D:\mongodb\bin>mongo.exe, if the following prompt, you installed successfully,

MongoDB Shell version v3.4.2
Connecting to:mongodb://127.0.0.1:27017
MongoDB Server version:3.4.2
Server has startup warnings:
2017-03-11t21:23:45.843+0800 I CONTROL [Initandlisten]
2017-03-11t21:23:45.843+0800 I CONTROL [initandlisten] * * warning:access CONTR
OL is not enabled for the database.
2017-03-11t21:23:45.844+0800 I CONTROL [initandlisten] * * Read and WRI
Te access to data and configuration is unrestricted.
2017-03-11t21:23:45.845+0800 I CONTROL [Initandlisten]
2017-03-11t21:23:45.846+0800 I CONTROL [Initandlisten] Hotfix KB2731284 or late
R Update is not installed, would zero-out data files.
2017-03-11t21:23:45.846+0800 I CONTROL [Initandlisten]

3. Exit test

Exit (enter Exit to exit)

Bye (prompt to exit)

How MongoDB Detects installation success

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.