How to completely remove /or delete all the files of Mysql on your Mac operating system, Follow the steps and command below. In my case I am using Snowleopard version 10.6.5.1. Backup all the your database objects using mysqldump command.
2. sudo rm /usr/local/mysql
3. sudo rm -rf /usr/local/mysql*
4. sudo rm -rf /Library/StartupItems/MySQLCOM
5. sudo rm -rf /Library/PreferencePanes/MySql*
6. edit /etc/hostconfig, look for the line something like "MYSQLCOM=-YES-" and remove it
7. rm -rf ~/Library/PreferencePanes/MySql*
8. sudo rm -rf /Library/Receipts/mysql*
9. sudo rm -rf /Library/Receipts/MySQL*
0 comments:
Post a Comment