简体   繁体   中英

How to uninstall MongoDB that was manually installed

I installed MongoDB manually on the MongoDB website. https://docs.mongodb.com/manual/tutorial/install-mongodb-on-os-x/

I followed the instructions under "Install MongoDB Community Edition Manually".

How do I uninstall MongoDB completely? I have searched around and only found how to uninstall using Homebrew. I did not install MongoDB using Homebrew.

Any help is greatly appreciated.

Just follow the manual install steps in reverse order:

Other files that might have been created depending on how you ran MongoDB:

  • there may be old log files to remove if you specified a --logpath outside your data directory

  • there may be a launchctl script and configuration file to remove if you configured mongod to run as a service

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM