Skip to content

Instantly share code, notes, and snippets.

@redolivedev
Last active April 3, 2017 15:57
Show Gist options
  • Save redolivedev/1c7f5454603add38b364f964ca283c10 to your computer and use it in GitHub Desktop.
Save redolivedev/1c7f5454603add38b364f964ca283c10 to your computer and use it in GitHub Desktop.
Enable remote connections with mariadb on homebrew
# Open mysql launch file
vim ~/Library/LaunchAgents/homebrew.mxcl.mariadb.plist
And change this line:
`--bind-address=127.0.0.1`
to:
`--bind-address=0.0.0.0`
# And finally reload MySQL
launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.mariadb.plist
launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.mariadb.plist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment