Last active
March 8, 2018 09:11
-
-
Save ericboehs/c6f8638eaa90a024275fda45aae3824d to your computer and use it in GitHub Desktop.
Upgrading from MySQL 5.6 to 5.7 on OS X
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mysql.server stop # kill the process if it fails | |
brew uninstall mysql56 | |
brew update | |
brew install mysql | |
cp /usr/local/Cellar/mysql/5.7.12/support-files/my-default.cnf /usr/local/etc/my.cnf | |
brew services start mysql # don't run via tmux | |
mysql_upgrade -u root --force | |
brew services restart mysql # don't run via tmux | |
cd ~/Code/17hats/17hats | |
bundle exec gem uninstall -a mysql2; bundle install | |
WIPE_DB=true bin/setup |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What I had to do before:
brew services stop mysql56
and / or kill mysql processes