0

mongodb安装在windows环境下,由于断电无法启动,通过各种方式无法恢复。
现尝试使用wiredtiger修复wt文件。
wiredtiger的cmd命令中,-C extensions如何使用snappy?
报错如下:
D:\mongo\wiredtiger-3.0.0>wt.exe -v -h “D:\mongodb\db” -C “extensions=(D:\mongo\
snappy-windows-1.1.1.8\native\snappy64.dll)” -R salvage “D:\mongodb\db\collectio
n-1–3097601879870793596.wt”
[1527576014:739617][28124:2000565120], wiredtiger_open: Error parsing ‘,extensio
ns=(D:\mongo\snappy-windows-1.1.1.8\native\snappy64.dll),log=(recover=on)’ at of
fset 15: Unexpected character: Invalid argument
wt.exe: Invalid argument

Answered question