aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorStephen Lottermoser2013-05-26 01:05:27 -0600
committerAdam Vandenberg2013-05-27 10:12:24 -0700
commit2e81448c576b5b7296e813aa31a6e537cb14d4e8 (patch)
treead855a0b81ce96f7e4bb89039599fc6254ebe128 /Library/Formula
parenta377cad783ff89557edd086e3c064bbfcb858827 (diff)
downloadhomebrew-2e81448c576b5b7296e813aa31a6e537cb14d4e8.tar.bz2
mysql: listen on 127.0.0.1 by default
It's generally not a good idea to allow remote connections to mysql. Make it safe by default. Closes #20090. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/mysql.rb7
1 files changed, 5 insertions, 2 deletions
diff --git a/Library/Formula/mysql.rb b/Library/Formula/mysql.rb
index 4a5b97aee..7774c4632 100644
--- a/Library/Formula/mysql.rb
+++ b/Library/Formula/mysql.rb
@@ -144,8 +144,11 @@ class Mysql < Formula
<true/>
<key>Label</key>
<string>#{plist_name}</string>
- <key>Program</key>
- <string>#{opt_prefix}/bin/mysqld_safe</string>
+ <key>ProgramArguments</key>
+ <array>
+ <string>#{opt_prefix}/bin/mysqld_safe</string>
+ <string>--bind-address=127.0.0.1</string>
+ </array>
<key>RunAtLoad</key>
<true/>
<key>WorkingDirectory</key>