where are mongodb files store when being run as a service with homebrew on a mac code example
Example 1: brew mongo start
brew services start mongodb-community@4.4
Example 2: start mongodb server mac
mongod --config /usr/local/etc/mongod.conf --fork