MySQL Uninstall on Mac OS 10.6

I had to uninstall a newer 64-bit version of MySQL to go back to a 32-bit version. Here are the steps:

1
2
3
4
5
6
7
# Remove folder with mysql installation
sudo rm -rf /usr/local/mysql-*
# Remove soft link to above folder
$ sudo rm /usr/local/mysql
# Remove receipts
$ cd /private/var/db/receipts/
$ sudo rm com.mysql.*

Thanks to this link for the critical bit on finding and removing the receipts.

Comments