step by step guide to upgrade mongodb version in mac code example
Example: how to start mongodb in mac
command to activate mongodb through a terminal
mongod --dbpath /usr/local/var/mongodb --logpath /usr/local/var/log/mongodb/mongo.log --fork
command to activate mongodb through a terminal
mongod --dbpath /usr/local/var/mongodb --logpath /usr/local/var/log/mongodb/mongo.log --fork