MongoDB cannot start server: The default storage engine 'wiredTiger' is not available with this build of mongod

前端 未结 7 1729
没有蜡笔的小新
没有蜡笔的小新 2020-11-29 01:19

MongoDB server failing to start with the following error:

2015-12-13T00:49:12.191+0600 I CONTROL [initandlisten] options: {}
2015-12-13T00:49

7条回答
  •  旧时难觅i
    2020-11-29 02:07

    Look carefully error, an error message is very clear that the causes and solutions for the problems, as long as we later in the installation MonogoDB command to add a parameter --storageEngine = mmapv1, will wiredTiger engine switched mmapv1 engine, you can successfully install.

    So your complete command will be as follows:

    mongod --dbpath MongoDb_Location_In_Your_HDD\data --storageEngine=mmapv1

    Note: MongoDb_Location_In_Your_HDD means the location where you put your MongoDb e.g.- D:\mongodb

提交回复
热议问题