![]() Run cmd.exe as administrator, D:\Program Files\MongoDB\Server\3.6\bin>taskkill /F /IM mongod.exeĭ:\Program Files\MongoDB\Server\3.6\bin>mongod.exe -logpath D:\mongodb\logs\mongodb.log -logappend -dbpath D:\mongodb\data -directoryperdb -serviceName MongoDB -removeĭ:\Program Files\MongoDB\Server\3.6\bin>mongod -logpath "D:\mongodb\logs\mongodb.log" -logappend -dbpath "D:\mongodb\data" -directoryperdb -serviceName "MongoDB" -serviceDisplayName "MongoDB" -install If the issue still exists, try following steps in order.įor example mongoDB version 3.6 is installed, and the install path of MongoDB is "D:\Program Files\MongoDB".Ĭreate folder D:\mongodb\logs, then create file mongodb.log inside this folder. There is an effective method to solve this issue.įirstly, try to delete the file storage.bson under the folder "D:\mongodb\data", or the corresponding path in your PC.
0 Comments
Leave a Reply. |