How to remove MySQL from OS X Snow Leopard

Posted on January 26 2011 by SmashedLife

Instructions on how to remove MySQL from OS X.

  1. Remove the line “MYSQLCOM=-YES-” from /etc/hostconfig
  2. Using the terminal, run the following command
    1. sudo rm /usr/local/mysql
    2. sudo rm -rf /usr/local/mysql*
    3. sudo rm -rf /Library/StartupItems/MySQLCOM
    4. sudo rm -rf /Library/PreferencePanes/My*
    5. sudo rm -rf /Library/Receipts/mysql*
    6. sudo rm -rf /Library/Receipts/MySQL*
    7. sudo rm -rf /var/db/Receipts/com.mysql.mysql*
    8. sudo rm /etc/my.conf

MySQL is now removed

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • MySpace
  • Reddit
  • Technorati
  • Twitter

Leave a Reply