anchor.diff:  
   # Replication Master Server (default)
   # binary logging is required for replication
  -log-bin=mysql-bin
  +log-bin       = /var/log/mysql/mysql-bin.log
  +log-bin-index = /var/log/mysql/mysql-bin.index
   
   # binary logging format - mixed recommended
   binlog_format=mixed
  
positive.code: # required unique id between 1 and 2^32 - 1
  # defaults to 1 if master-host is not set
  # but will not function as a master if omitted
  server-id	= <%= server_id or 1 %>
  
  # InnoDB
  innodb_data_home_dir = /var/lib/mysql
  
negative.code: innodb_log_group_home_dir = /var/lib/mysql
  # You can set .._buffer_pool_size up to 50 - 80 %
  # of RAM but beware of setting memory usage too high
  innodb_buffer_pool_size = <%= (memorysizeinbytes.to_i / 2 / 1024 / 1024).to_i -%>M
  innodb_additional_mem_pool_size = 20M
  # Set .._log_file_size to 25 % of buffer pool size
  innodb_log_file_size = <%= ((memorysizeinbytes.to_i / 2 / 1024 / 1024) * 0.25).to_i -%>M
  innodb_log_buffer_size = 8M
  innodb_flush_log_at_trx_commit = 1
  innodb_flush_method = O_DSYNC
  innodb_file_per_table
  innodb_lock_wait_timeout = 35
  interactive_timeout   = 28800
  default-storage-engine = InnoDB
  
  [mysqldump]
  quick
  