Failed to connect to 127.0.0.1:27017 reason: errno:111 connection attempt failed at src/mongo/shell/mongo.js:146

背景

今天打开mongo, 结果在命令行输入mongo后,报错如下

解决方法

四步

1) Remove .lock file

2) repair the[……]

[yol出品] 全文阅读 >>