Uninstall MySQL on OS X

If you look through the MySQL support docs, there is no clear description for uninstalling MySQL in OS X. Here’s how:

Make sure MySQL isn’t running. If you have the preference pane installed, stop the server. Otherwise you can stop it from the terminal:

sudo /Library/StartupItems/MySQLCOM/MySQLCOM stop

Edit /etc/hostconfig

sudo nano /etc/hostconfig
Password:

AFPSERVER=-NO-
AUTHSERVER=-NO-
TIMESYNC=-NO-
QTSSERVER=-NO-
MYSQLCOM=-YES-

Remove or comment out (# marks the line as a comment) the line that says “MYSQLCOM=-YES-”.

Remove MySQL
Still in the terminal….

sudo rm /usr/local/mysql
sudo rm -rf /usr/local/mysql*
sudo rm -rf /Library/StartupItems/MySQLCOM
sudo rm -rf /Library/PreferencePanes/My*
sudo rm -rf /Library/Receipts/mysql*
sudo rm -rf /Library/Receipts/MySQL*
sudo rm -rf /var/db/receipts/com.mysql.*
sudo rm /etc/my.cnf

That’s it. MySQL is gone.

B’ak’tun Countdown Widget

Displays a countdown to December 21st 2012, marking the end of the 13th b’ak’tun of the Mayan long count calendar. AKA, the end of the world for the doomsdayists.

B'ak'tun Countdown Dashboard Widget

  13th B'ak'tun Countdown Widget (135.6 KiB, 100 hits)

Mac OS X 10.4 Tiger is required. If you’re using Safari, click the download link. When the widget download is complete, show Dashboard, click the Plus sign to display the Widget Bar and click the widget’s icon in the Widget Bar to open it. If you’re using a browser other than Safari, click the download link. When the widget download is complete, unarchive it and place it in /Library/Widgets/ in your home folder. show Dashboard, click the Plus sign to display the Widget Bar and click the widget’s icon in the Widget Bar to open it.