One minute
Setup MongoDB on Mac Yosemite
Install MongoDB with Homebrew
Set permissions for the data directory
Ensure that user account running mongod has correct permissions for the directory:
Run MongoDB!
$ mongod
Note: If you get something like this:
It means that /data/db
lacks required permission and ownership.
Run ls -ld /data/db/
Output should look like this (willis7
is directory owner and staff
is group to which willis7 belongs):
comments powered by Disqus