diff --git a/files/brews/mysql.rb b/files/brews/mysql.rb index f933bf7..b27d5f8 100644 --- a/files/brews/mysql.rb +++ b/files/brews/mysql.rb @@ -37,10 +37,6 @@ def install "COMMAND /usr/bin/libtool -static -o ${TARGET_LOCATION}", "COMMAND libtool -static -o ${TARGET_LOCATION}" - # Build without compiler or CPU specific optimization flags to facilitate - # compilation of gems and other software that queries `mysql-config`. - ENV.minimal_optimization - # -DINSTALL_* are relative to prefix args = %W[ . diff --git a/templates/my.cnf.erb b/templates/my.cnf.erb index 3ffb90c..e7953c8 100644 --- a/templates/my.cnf.erb +++ b/templates/my.cnf.erb @@ -1,3 +1,6 @@ +[mysqld] +skip-name-resolve + [client] host=<%= @host %> port=<%= @port %>