How to uninstall MySQL 5.1 on Snow Leopard

I installed MySQL 5.1 and then decided I didn’t want it.

So I deleted it from /usr/local and tried to install 5.0. No dice, the installer complained.

I deleted these files, and was able to install afterwards:

sudo rm -rf /var/db/receipts/com.mysql.mysql*

6 Responses to “How to uninstall MySQL 5.1 on Snow Leopard”

  1. Erik Says:

    How can I begin to describe my love for this little tip?

  2. matt Says:

    Great reply for Snow Leopard. I worked perfectly for me too.

  3. Paulo Says:

    I spent 4 hours trying to crack this nut! Then I found your tip and I rejoiced :) Thank you, thank you, thank you!

  4. Andrew Says:

    how do i find this file?

  5. Matt Says:

    Thanks for posting this!

  6. Ali Says:

    Fantastic, thanks 1M times.