Skip to content

Instantly share code, notes, and snippets.

@philsmy
Created July 9, 2018 06:11
Show Gist options
  • Save philsmy/26a08cfbc27912dfb787ef4ca4b820ff to your computer and use it in GitHub Desktop.
Save philsmy/26a08cfbc27912dfb787ef4ca4b820ff to your computer and use it in GitHub Desktop.
How to get homebrew to install and use mysql 5.7 instead of 8 under OSX

Find older mysql versions

brew search mysql

Install 5.7

brew install mysql@5.7

Link it

brew link mysql@5.7 --force --overwrite

mysql2 gem

gem uninstall mysql2 bundle install mysql2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment