Uninstall mysql from Mac OS X 10.11.2 El Capitan

Take a backup of the databases before removing mysql


rm /usr/local/mysql

rm -rf /usr/local/mysql*

rm -rf /Library/StartupItems/MySQLCOM

rm -rf /Library/PreferencePanes/My*

rm -rf ~/Library/PreferencePanes/My*

rm -rf /Library/Receipts/mysql*

rm -rf /Library/Receipts/MySQL*

rm -rf  /private/var/db/receipts/*mysql*

rm -rf /var/db/receipts/com.mysql.*

Advertisements

4 thoughts on “Uninstall mysql from Mac OS X 10.11.2 El Capitan

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s