Skip to content

Instantly share code, notes, and snippets.

@3014zhangshuo
Forked from 6temes/mysql_downgrade.txt
Created April 16, 2020 09:33
Show Gist options
  • Save 3014zhangshuo/c53ada0f322d8b463716d83ce71e3c06 to your computer and use it in GitHub Desktop.
Save 3014zhangshuo/c53ada0f322d8b463716d83ce71e3c06 to your computer and use it in GitHub Desktop.
Downgrade MySQL version with brew
# Kill rails server and guard
bin/spring stop
brew services stop mysql
brew uninstall mysql
brew install [email protected]
brew link [email protected] --force
brew services start [email protected]
rbenv uninstall 2.3.3
rbenv install 2.3.3
gem install bundle
gem install rubocop-rspec rubocop scss_lint rails_best_practices # (optional)
bundle install
be rails db:migrate:reset
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment