Mac OS-X/MySQL : A newer version of this software already exists on this volume.
I ran into this over the weekend and since it took a bit of time to find I thought it might be useful for others. I was setting up an ATG development environment and had installed a version of MySQL that was known not to work with ATG..(oops..I’ll cover this in another posting). I uninstalled MySQL using the following steps :
- cd /usr/local
- sudo rm mysql
- sudo rm -rf mysql-<some version number here>
With this done I downloaded a different version of MySQL and tried to install it, however I received the following error.
“You cannot install MySQL blah-version-blah for Mac OS X on this volume. A newer version of this software already exists on this volume”
After digging around about this for a while I was finally able to come up with the problem. You need to go into the /Library/Receipts directory and delete the Mysql related items in there was well. An example :
- cd /Library/Receipts/
- rm -rf Mysql<blah blah blah>
With this done. I was able to continue installing the new version and get back to stuff. Hopefully this helps someone else.