宇宙小神特别萌: 你好,directoryPerDB: false 已经存在数据库情况,当把directoryPerDB: true时,遇到无法启动MongoDB服务问题, 错误信息: systemLog: { destination: "file", logAppend: true, path: "D:\tools\MongoDB\Server\4.0\log\mongod.log" } } 2024-07-31T16:39:28.179+0800 I STORAGE [initandlisten] Detected data files in D:\tools\MongoDB\Server\4.0\data created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'. 2024-07-31T16:39:28.179+0800 I STORAGE [initandlisten] exception in initAndListen: InvalidOptions: Requested option conflicts with current storage engine option for directoryPerDB; you requested true but the current server storage is already set to false and cannot be changed, terminating 2024-07-31T16:39:28.179+0800 I NETWORK [serviceStopWorker] shutdown: going to close listening sockets... 2024-07-31T16:39:28.180+0800 I CONTROL [serviceStopWorker] now exiting 请教下解决方案?表情包
Chrome 浏览器开启打印模式
MongoDB 数据放在不同的磁盘上