How to Create a configuration File For MongoDB

Rob Schneider picture Rob Schneider · Jul 22, 2012 · Viewed 60.7k times · Source

I have installed mongodb for mac os through 10gen and I have gone through the documentation to do so. Everything seems fine apart from the configuration file. I can not see it in /etc/mongod.config. Do I have to manually create this config file? And if so how can I go about it?

cheers

Answer

Addison picture Addison · Jan 28, 2013

The default path for brew installed mongodb on Mac OS X is /usr/local/etc/mongod.conf