From 2e81448c576b5b7296e813aa31a6e537cb14d4e8 Mon Sep 17 00:00:00 2001 From: Stephen Lottermoser Date: Sun, 26 May 2013 01:05:27 -0600 Subject: 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 --- Library/Formula/mysql.rb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Library') 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 Label #{plist_name} - Program - #{opt_prefix}/bin/mysqld_safe + ProgramArguments + + #{opt_prefix}/bin/mysqld_safe + --bind-address=127.0.0.1 + RunAtLoad WorkingDirectory -- cgit v1.2.3