Skip to content

Instantly share code, notes, and snippets.

@baskaran-r
Last active April 2, 2017 10:30
Show Gist options
  • Select an option

  • Save baskaran-r/b8fc5a5a938819ea563b3c47fec81fe1 to your computer and use it in GitHub Desktop.

Select an option

Save baskaran-r/b8fc5a5a938819ea563b3c47fec81fe1 to your computer and use it in GitHub Desktop.
Install MySQL on OSX sierra with homebrew
Install homebrew services
$ brew tap homebrew/services
Install and start service mysql at login
$ brew install mysql
$ brew services start mysql
Run service. Don't start at login (nor boot):
$ brew services run mysql
Stop service mysql:
$ brew services stop mysql
Restart service mysql:
$ brew services restart mysql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment