Skip to content

Instantly share code, notes, and snippets.

@trandaison
Created April 10, 2018 07:43
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 trandaison/858326f0822e3e968477facece0e7282 to your computer and use it in GitHub Desktop.
Save trandaison/858326f0822e3e968477facece0e7282 to your computer and use it in GitHub Desktop.
Install mysql on MacOSX

Install mysql via HomeBrew

$ brew install mysql

To have launchd start mysql at login

$ ln -sfv /usr/local/opt/mysql/*.plist ~/Library/LaunchAgents
$ brew services start mysql
# or
$ mysql.server start

By default the mysql user is root with no password.

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