Uninstalling MySQL Community Server on OS X Revision as of Thursday, 28 May 2026 at 13:06 UTC

Tested on 10.7 (Lion) and 10.6 (Snow Leopard).

Remove all startup items, receipts and the MySQL installation directory:

sudo rm -rf /Library/StartupItems/MySQL*
sudo rm -rf /Library/PreferencePanes/MySQL*
sudo rm -rf /Library/Receipts/mysql-*
sudo rm -rf /var/db/receipts/com.mysql.*
sudo rm /usr/local/mysql
sudo rm -rf /usr/local/mysql-*

Remove this in /etc/hostconfig

MYSQLCOM=-NO-

Done.