Edited at

MongoDBのデータの保存先

More than 3 years have passed since last update.


  • /usr/local/etcにmongod.confがあって、中には

systemLog:

destination: file
path: /usr/local/var/log/mongodb/mongo.log
logAppend: true
storage:
dbPath: /usr/local/var/mongodb
net:
bindIp: 127.0.0.1

と書いてある