Mongodb建立資料庫時候失敗
怪我咯
怪我咯 2017-04-28 09:05:49
0
1
420

內容如下, 如何解決?

H:\mongodb\bin>mongod --dbpath=H:\mongodb\blog
2016-01-05T15:34:32.957+0800 I CONTROL  [main]
2016-01-05T15:34:32.959+0800 W CONTROL  [main] 32-bit servers don't have journaling enabled by default. Please use --journal if you want durability.
2016-01-05T15:34:32.962+0800 I CONTROL  [main]
2016-01-05T15:34:32.971+0800 I CONTROL  [initandlisten] MongoDB starting : pid=3772 port=27017 dbpath=H:\mongodb\blog 32-bit host=DESKTOP-B5OI7K0
2016-01-05T15:34:32.973+0800 I CONTROL  [initandlisten] targetMinOS: Windows Vista/Windows Server 2008
2016-01-05T15:34:32.974+0800 I CONTROL  [initandlisten] db version v3.2.0
2016-01-05T15:34:32.975+0800 I CONTROL  [initandlisten] git version: 45d947729a0315accb6d4f15a6b06be6d9c19fe7
2016-01-05T15:34:32.976+0800 I CONTROL  [initandlisten] allocator: tcmalloc
2016-01-05T15:34:32.977+0800 I CONTROL  [initandlisten] modules: none
2016-01-05T15:34:32.978+0800 I CONTROL  [initandlisten] build environment:
2016-01-05T15:34:32.979+0800 I CONTROL  [initandlisten]     distarch: i386
2016-01-05T15:34:32.980+0800 I CONTROL  [initandlisten]     target_arch: i386
2016-01-05T15:34:32.981+0800 I CONTROL  [initandlisten] options: { storage: { dbPath: "H:\mongodb\blog" } }
2016-01-05T15:34:32.984+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
2016-01-05T15:34:32.988+0800 I CONTROL  [initandlisten] dbexit:  rc: 100
怪我咯
怪我咯

走同样的路,发现不同的人生

全部回覆(1)
PHPzhong

32位元windows機器上可能出現這種問題,依照它的指示,換一個storage engine就行了
mongod --dbpath=H:mongodbblog --storageEngine=mmapv1

熱門教學
更多>
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板
關於我們 免責聲明 Sitemap
PHP中文網:公益線上PHP培訓,幫助PHP學習者快速成長!