-
-
Save bufordtaylor/4b02732da3f1f4a36d7a00b41be5adcd 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