How to install MySQL 5.6 on OSX Mojave?

I'd recommend using homebrew to be honest. I think it's brew install mysql@5.6 if you have homebrew installed already.

You may need to also add the install bin directory to your system path, but the command output will tell you what to do if so.


To install:

brew install mysql@5.6

To have launchd start mysql@5.6 now and restart at login:

brew services start mysql@5.6

Or, if you don't want/need a background service you can just run:

/usr/local/opt/mysql@5.6/bin/mysql.server start