where are mongo db files store when being run as a service with homebrew on a mac code example
Example 1: install mongodb on mac
brew tap mongodb/brew
#step 1
Example 2: start mongodb server mac
mongod --config /usr/local/etc/mongod.conf --fork
brew tap mongodb/brew
#step 1
mongod --config /usr/local/etc/mongod.conf --fork