Pages

Friday, December 17, 2010

Remove MySql database on MAC OS X platform

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*

1 comment:

  1. Are you familiar with J2ME?

    Java for mobile? i have something for you to work on.

    I am here in Davao and would like to do this on per contract. THere are only two things i would like you to accomplish.

    1. connection of my gsm modem to my server/laptop
    2. connection of a mobile program online.

    if your interested text me at 09177160347

    ReplyDelete