[英]How to uninstall MongoDB that was manually installed
I installed MongoDB manually on the MongoDB website. 我在MongoDB网站上手动安装了MongoDB。 https://docs.mongodb.com/manual/tutorial/install-mongodb-on-os-x/ https://docs.mongodb.com/manual/tutorial/install-mongodb-on-os-x/
I followed the instructions under "Install MongoDB Community Edition Manually". 我按照“手动安装MongoDB Community Edition”下的说明进行操作。
How do I uninstall MongoDB completely? 如何完全卸载MongoDB? I have searched around and only found how to uninstall using Homebrew. 我四处搜寻,仅发现如何使用Homebrew进行卸载。 I did not install MongoDB using Homebrew. 我没有使用Homebrew安装MongoDB。
Any help is greatly appreciated. 任何帮助是极大的赞赏。
Just follow the manual install steps in reverse order: 只需按照相反的顺序执行手动安装步骤即可 :
mongod
关闭mongod
PATH
从您的Shell PATH
删除包含MongoDB二进制文件的目录 Other files that might have been created depending on how you ran MongoDB: 根据您运行MongoDB的方式可能已经创建了其他文件:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.