Answer the question
In order to leave comments, you need to log in
How to start mongodb service on mac?
Hello, I installed mongodb via homebrew, then I ran this command: mkdir -p /data/db
AND this sudo chown $USER /data/db
AND then ran this command to start the service:
mongod --directoryperdb --dbpath /data/db --logpath /log/mongo.log --logappend --rest --install
Error parsing command line: unrecognised option '--install'
try 'mongod --help' for more information
net start MongoDB
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question