aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/mysql.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Formula/mysql.rb b/Library/Formula/mysql.rb
index d4ff6ecc7..0ee965ef6 100644
--- a/Library/Formula/mysql.rb
+++ b/Library/Formula/mysql.rb
@@ -157,6 +157,7 @@ class Mysql < Formula
<array>
<string>#{opt_bin}/mysqld_safe</string>
<string>--bind-address=127.0.0.1</string>
+ <string>--datadir=#{var}/mysql</string>
</array>
<key>RunAtLoad</key>
<true/>