Last active
April 3, 2017 15:57
-
-
Save redolivedev/1c7f5454603add38b364f964ca283c10 to your computer and use it in GitHub Desktop.
Enable remote connections with mariadb on homebrew
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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