Operating system: Mac osX 10.8.2
At present, to open mongoDB, you need to first
Then cmd+T opens a new terminal.
Only in this way can it be carried out normally, which is quite troublesome.
I would like to ask everyone how to make mogodb write like a system process and let it execute all the time, just like mysql
Take a closer look at Mongoose’s options.
$MONGO/bin/mongod –dbpath $DB –fork –logpath $LOG –logappend