uninstall mysql completely in my Mac X 10.6

阅读更多
    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-
    sudo rm -rf /Library/Receipts/mysql*
    sudo rm -rf /Library/Receipts/MySQL*
    sudo rm /var/db/receipts/com.mysql.mysql.*

你可能感兴趣的:(uninstall mysql completely in my Mac X 10.6)