有人有一樣的問題嗎?
我是根據數據為王的教程操作的
更新 /etc/mongod.conf
增加 storageEngine=wiredTiger
同时修改 dbpath=/var/lib/mongo-wiredTiger
卻在修改後無法啟用mongoDB,把設置改回去又可以使用了
難道只能使用默認的mmapv1?
高洛峰2017-04-25 09:05:18
Is it unable to start or does it hang after running for a while? If the latter situation is the case, it may be caused by too small memory.
滿天的星座2017-04-25 09:05:18
If you use wiredTiger... the format of the configuration file is different... you need to use YAML format...
Please refer to this article
http://www.mongoing.com/config_3_0