通过网上的安装方法安装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系统,求链接,求指导~~~小妹感激不尽