我以前通過自制軟件安裝了CouchDB,但是我的數據庫進入了一個奇怪的狀態,所以我原本計劃擦除乾淨並卸載/重新安裝。我運行了brew uninstall couchdb
,但是當我重新安裝它時,我遇到了和以前一樣的奇怪的狀態問題。CouchDB似乎被卸載,但curl本地主機:5984仍然返回「歡迎」文件
我再次運行卸載命令,然後跑了curl localhost:5984
,並讓我吃驚我看到:
{"couchdb":"Welcome","uuid":"1316020b7ecc176ede36dc9acd8ea4e9","version":"1.6.1","vendor":{"name":"Homebrew","version":"1.6.1_13"}}
以下是運行brew list
的輸出:
ack elixir gnutls libpng node-build pyenv-virtualenv watchman
adns erlang heroku libtasn1 nodenv python wget
autoconf [email protected] icu4c libtiff npth python3 wireshark
autoconf-archive etl imagemagick libtool nspr qt wxmac
automake fortune jpeg libunistring oniguruma qt5 xz
c-ares freetype jq libusb openssl rbenv yarn
cmake gdbm leiningen libxml2 [email protected] readline zsh-completions
coreutils geoip libassuan libyaml p11-kit redis
cowsay gettext libevent memcached pcre rlwrap
dbus git libffi mit-scheme pinentry ruby-build
docker glib libgcrypt mongodb pkg-config spidermonkey
docker-compose gmp libgpg-error nettle postgresql sqlite
docker-machine gnupg libksba node pyenv the_silver_searcher
,你可以看到,CouchDB沒有在安裝的公式中列出。我運行了brew uses couchdb
(列出了所有將CouchDB作爲依賴項的公式),唯一的結果是couchdb-lucene
,我沒有安裝它。
我的問題是,爲什麼curl
命令仍然返回文檔,如果我已經卸載CouchDB?