The default storage engine 'wiredTiger'

发布于:2023-05-25 ⋅ 阅读:(149) ⋅ 点赞:(0)

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

网站公告

今日签到

点亮在社区的每一天
去签到