anchor.diff:  #
   # Both location gets rotated by the cronjob.
   # Be aware that this log type is a performance killer.
  -#log            = /var/log/mysql/mysql.log
  -#
  -# Error logging goes to syslog. This is a Debian improvement :)
  -#
  +# As of 5.1 you can enable the log at runtime!
  +#general_log_file        = /var/log/mysql/mysql.log
  +#general_log             = 1
  +
  +log_error                = /var/log/mysql/error.log
  +
   # Here you can see queries with especially long duration
   log_slow_queries       = <%= node[:mysql][:tunable][:log_slow_queries] %>
   long_query_time = <%= node[:mysql][:tunable][:long_query_time] %>
  
positive.code: # You might want to disable InnoDB to shrink the mysqld process by circa 100MB.
  #skip-innodb
  innodb_buffer_pool_size = <%= node[:mysql][:tunable][:innodb_buffer_pool_size] %>
  #
  # * Federated
  #
  # The FEDERATED storage engine is disabled since 5.0.67 by default in the .cnf files
  # shipped with MySQL distributions (my-huge.cnf, my-medium.cnf, and so forth).
  #
  skip-federated
  #
  # * Security Features
  #
  
negative.code: # * IMPORTANT: Additional settings that can override those from this file!
  #   The files must end with '.cnf', otherwise they'll be ignored.
  #
  !includedir /etc/mysql/conf.d/
  