Skip to content

Instantly share code, notes, and snippets.

@BenQoder
Created August 4, 2019 13:25
Show Gist options
  • Select an option

  • Save BenQoder/da41aba39e58bbad014ef8e94260af17 to your computer and use it in GitHub Desktop.

Select an option

Save BenQoder/da41aba39e58bbad014ef8e94260af17 to your computer and use it in GitHub Desktop.
Buenas! Buenas!
I had to deal with this issue while installing Valet+ on two different computers running macOS Mojave so I thought I'd share my recipe.
⚠️ Make sure to back-up your database if you already have data in it.
First, uninstall MySQL
brew uninstall mysql
brew uninstall mysql@5.7
brew cleanup
rm -rf /usr/local/var/mysql
rm /usr/local/etc/my.cnf
Now lets install MySQL 5.7
brew install mysql@5.7
You might have to link MySQL since 5.7 is not the latest version available in Homebrew (makes me wonder if this is the root of this issue)
brew link --force mysql@5.7
Run the service
brew services start mysql@5.7
Re-install Valet+
valet fix
valet install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment