chef/cookbooks/mysql/templates/default/my.cnf.erb
#
# Generated by Chef for <%= node[:hostname] %>
#
# Local modifications will be overwritten.
#
# The MySQL database server configuration file.
[mysqld]
user = mysql
datadir = <%= node[:database][:mysql][:datadir] %>
tmpdir = <%= node[:database][:mysql][:tmpdir] %>
# Instead of skip-networking the default is now to listen only on
# localhost which is more compatible and is not less secure.
bind-address = <%= node[:database][:mysql][:bind_address] %>