Skip to content

MongoDB setup

mayeaux edited this page May 7, 2018 · 5 revisions

If installing MongoDB from homebrew on OS X:

The databases are stored in the /usr/local/var/mongodb/ directory

The mongod.conf file is here: /usr/local/etc/mongod.conf

The mongo logs can be found at /usr/local/var/log/mongodb/mongo.log

The mongo binaries are here: /usr/local/Cellar/mongodb/[version]/bin

To start mongod with a specific config file: mongod --config /usr/local/etc/mongod.conf

Clone this wiki locally