mongodb安装遇到坎儿,如何卸载干净再重装?
天蓬老师
天蓬老师 2017-05-02 09:26:22
0
1
787
  1. 通过网上的安装方法安装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系统,求链接,求指导~~~小妹感激不尽

天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

reply all (1)
習慣沉默

Just run this

Reinstall after running

brew link makedepend

Isn’t it good to install docker? ?

No thanks GG

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!