Skip to content

Instantly share code, notes, and snippets.

@fmendozaro
Forked from ryanorsinger/fix_mysql_install
Created May 22, 2020 15:01
Show Gist options
  • Save fmendozaro/e5f9c68eaa33995fe6c75c8fd962c396 to your computer and use it in GitHub Desktop.
Save fmendozaro/e5f9c68eaa33995fe6c75c8fd962c396 to your computer and use it in GitHub Desktop.
Reinstall MySQL on a laptop that had an old version of homebrew installed
brew uninstall mysql
rm -rf /usr/local/var/mysql
sudo chown -R $(whoami) $(brew --prefix)/*
brew install mysql@5.7
If there are other problems, check out the link below:
https://gist.github.com/operatino/392614486ce4421063b9dece4dfe6c21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment