Uninstall mysql from Mac OS X 10.11.2 El Capitan

Take a backup of the databases before removing mysql

[code language=”bash”]

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.*

[/code]

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

Leave a Reply