I'm trying to get a working copy of MAMP. But I once installed the MySQL server seperately, and I can't find a way to uninstall.
How can I uninstall this version of MySQL?
If you haven't yet rebooted your computer, the process could still be running. First, reboot.
Then if MySQL is still showing up after a reboot, from the Terminal, issue the following commands one at a time:
sudo rm /usr/local/mysql
sudo rm -rf /usr/local/mysql*
sudo rm -rf /Library/StartupItems/MySQLCOM
sudo rm -rf /Library/PreferencePanes/My*
rm -rf ~/Library/PreferencePanes/My*
sudo rm -rf /Library/Receipts/mysql*
sudo rm -rf /Library/Receipts/MySQL*
And using your text editor of choice:
/etc/hostconfigand remove the line
If you still cannot install or run a different version of MySQL, you might have to issue one last command in the Terminal:
sudo rm -rf /var/db/receipts/com.mysql.mysql*
You should check the following folders:
It's bound to be in one of them!
Once you find the app, I suggest using AppZapper to completely remove it.
Updated: If you still can't find it open the terminal and run:
sudo find / -name "mysql
If there's any mysql executable in your computer it will find it