I have recently have to set up my dev environment once again, which can be quite a bit of a pain, especially if you do not have something like boxen.
This time however i decided to avoid macports all together, one of the “benefits” of macports over homebrew is the ability to run different versions since macports will install into /opt , though its a feature i never used, and i have had a bunch of strange build incompatabilities that has taken me quite a bit of time to debug.
Here are the steps
1 2 3 4 5 6 7 8 9 10
- Backup any databases you have using mysqldump
- Stop MySQL if it is currently running, under settings > mysql
and then run:
1 2 3 4 5 6 7 8
You may also need to edit
/etc/hostconfig and remove the line
Install Homebrew & MySQL
Welcome to nirvana
Seriously, i have not yet had any compatibility or weird build errors with homebrew.