Install MongoDB under Mac

Source: Internet
Author: User
Tags brew install mongodb install mongodb

A fool-mounted installation is a brew install MongoDB.

However, you will need to do a brew update before you can report the following error:

Successful Installation information:

This default post-installation information is as follows:

Installation directory:/usr/local/cellar/mongodb/3.0.4
Configuration file:/usr/local/etc/mongod.conf

The default information in the configuration file is:

Start command:

The parameters that follow the mongod–config/usr/local/etc/mongo.conf are the configuration files that are used at startup.

Test whether to start a command on another terminal

Mongo

We can see the following information:

The Mac I'm using is this client tool:

http://robomongo.org/as follows:

Restore Backup Files

Mongorestore–dir./aaa
Restores files under current directory AAA to native MongoDB

Resources:

Use Brew to install MongoDB under Mac
Http://yijiebuyi.com/blog/b6a3f4a726b9c0454e28156dcc96c342.html

Install MongoDB under Mac

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.