$ launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist(stop mysql)
$ brew update$ cd /usr/local/Library/Formula/$ git checkout deff2feda710790d62aeb54286c097a6d991b3f1(contains 5.7.11 build)- (may need to do a
$ git pull origin master --unshallowfirst)
- (may need to do a
$ brew upgrade mysql- Apply server args:
- NOTE: In general, always make sure you trust the source and don't "blindly" run files you download via curl.
$ ruby <(curl -s https://gist.githubusercontent.com/etipton/8dead5a3397f6bd7edb2/raw)(source code)
$ launchctl load ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist(start mysql)$ mysql_upgrade -uroot --force- Restart mysql so effects of
mysql_upgradeare applied:$ launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist(stop mysql)$ launchctl load ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist(start mysql)
$ git checkout master(reset homebrew-core back to latest and greatest)$: cd [your projects dir, e.g. ~/projects]/my.rigor.com- Re-install mysql gem:
$ gem uninstall mysql$ bundle install