Skip to content

Instantly share code, notes, and snippets.

@sigwyg
Created December 31, 2018 08:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sigwyg/ddb41299d98b05c2b0aa493f77c1881f to your computer and use it in GitHub Desktop.
Save sigwyg/ddb41299d98b05c2b0aa493f77c1881f to your computer and use it in GitHub Desktop.
macににMySQL5.6(だけを)入れる
rm -rf /usr/local/var/mysql
brew remove --force mysql
brew remove --force mysql@5.6
brew install mysql@5.6
mysql.server start
@sigwyg
Copy link
Author

sigwyg commented Dec 31, 2018

brewのmysqlが8系なので、mysql@r5.6入れたら。
ERROR! The server quit without updating PID file (/usr/local/var/mysql/mba.local.pid).
となって起動できなくなったので、入れ直した場合

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment