透過網路上的安裝方法安裝mongodb,然後執行brew update,後執行brew install mongodb;此時報錯:
Error: You must `brew link makedepend` before mongodb can be installed
2.直接搜尋出來mongodb的shell時,報以下錯誤:
MongoDB shell version v3.4.2
connecting to: mongodb://127.0.0.1:27017
2017-04-18T18:51:28.415+0800 W NETWORK [thread1] Failed to connect to 127.0.0.1:27017, in(checking socket for error after poll), reason: Connection refused
2017-04-18T18:51:28.417+0800 E QUERY [thread1] Error: couldn't connect to server 127.0.0.1:27017, connection attempt failed :
connect@src/mongo/shell/mongo.js:237:13
@(connect):1:6
exception: connect failed
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
Deleting expired sessions...148 completed.
3.請問各位大佬們,我應該怎樣給卸載乾淨了然後重裝呢?或者我以上的問題可以在不卸載的情況下該怎麼解決?大佬們有更好的安裝的教學嘛?電腦是Mac系統,請鏈接,求指導~~~小妹感激不盡
直接run下這個唄
run完再裝
裝docker不好嗎? ?
還不謝謝 GG