The-default-storage-engine-wiredTiger

44次阅读

共计 440 个字符,预计需要花费 2 分钟才能阅读完成。

win7 32 位系统在安装 mongodb 数据库时遇到问题。

2016-01-05T17:44:48.381+0800 I STORAGE  [initandlisten] exception in initAndListen: 28663 Cannot start server. The default storage engine ‘wiredTiger’ is not available with this build of mongod. Please specify a different storage engine explicitly, e.g. –storageEngine=mmapv1., terminating

根据错误提示得知是由于当前数据库引擎不支持 32 系统所导致的。

解决这个问题很简单,只要切换下 MongoDB 的默认数据库引擎即可,当然最好是升级到 64 位系统,毕竟没有 2GB 的限制而且新引擎的性能也有很大的提升。

$ mongod -dbpath "d:\mongodb\data" -storageEngine=mmapv1

正文完
 0