From this post on the IntelliPaat forum.
This guide assumes that MongoDB Community was installed on macOS Catalina using brew install [email protected]
. Refer to MongoDB Manual: Install on MacOS for installation instructions.
launchctl list | grep mongo
launchctl remove homebrew.mxcl.mongodb
pkill -f mongod
brew uninstall mongodb-community
- settings:
rm -r /usr/local/etc/mongod.conf
- logs:
rm -r /usr/local/var/log/mongodb
- data:
rm -r /usr/local/var/mongodb
@Trend20 Glad you found it helpful.