Saturday, December 11, 2010

mysql anyone?

Saying SEQUEL SERVER instead of MSSQL SERVER is a big no-no for me how about you ? What's up with that? What are the problems of the world ? Why are we here? Those questions intrigues me. Lol! To get you going with uninstalling MySQL on Mac OS X Leopard.

To uninstall MySQL and completely remove it (including all databases) from your Mac do the following:

Use mysqldump to backup your databases to text files!
Stop the database server

sudo rm /usr/local/mysql
sudo rm -rf /usr/local/mysql*
sudo rm -rf /Library/StartupItems/MySQLCOM
sudo rm -rf /Library/PreferencePanes/My*
edit /etc/hostconfig and remove the line MYSQLCOM=-YES-
rm -rf ~/Library/PreferencePanes/My*
sudo rm -rf /Library/Receipts/mysql*
sudo rm -rf /Library/Receipts/MySQL*

The last two lines are particularly important as otherwise, you can't install an older version of MySQL even though you think that you've completely deleted the newer version!

0 comments:

Post a Comment