Monday, December 28, 2009

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:

# 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.

No comments: