Completely Remove MySQL on Mac OS X
You can use those commands (according to The Tech Lab) one by one:
or just run the shell script:
or just put the following command in your terminal:
After the reinstall, you need to restart your mac.
Install MySql using Homebrew
Then follow brew's tips.