Start MongoDB from command line

Written by

To start MongoDB from command line, run

mongod --auth --dbpath /path/to/mongodb

See MongoDB