Puppet Defined Type: mysqld

Defined in:
manifests/mycnf/mysqld.pp

Overview

notes: tmp_table_size=max_heap_table_size

Parameter Summary

  • instance_name (Any) => $name
  • skip_external_locking (Any) => $mysql::params::skip_external_locking_default
  • tmpdir (Any) => $mysql::params::tmpdir_default
  • port (Any) => '3306'
  • pidfile (Any) => undef
  • datadir (Any) => "/var/mysql/${name}"
  • relaylogdir (Any) => "/var/mysql/${name}/relaylogs"
  • binlogdir (Any) => "/var/mysql/${name}/binlogs"
  • default_storage_engine (Any) => 'InnoDB'
  • ignoreclientcharset (Any) => true
  • charset (Any) => 'utf8'
  • readonly (Any) => false
  • key_buffer_size (Any) => $mysql::params::key_buffer_size_default
  • sysdate_is_now (Any) => true
  • max_allowed_packet (Any) => '16M'
  • max_connect_errors (Any) => '1000000'
  • nameresolve (Any) => false
  • innodb (Any) => 'FORCE'
  • expirelogsdays (Any) => '5'
  • binlog_format (Any) => 'MIXED'
  • sync_binlog (Any) => true
  • serverid (Any) => '1'
  • max_binlog_size (Any) => '1073741824'
  • log_bin_trust_function_creators (Any) => false
  • slave (Any) => false
  • max_relay_log_size (Any) => '0'
  • replicate_ignore_db (Any) => []
  • max_heap_table_size (Any) => '32M'
  • tmp_table_size (Any) => '32M'
  • query_cache_type (Any) => '0'
  • query_cache_size (Any) => '0'
  • query_cache_limit (Any) => '1048576'
  • max_connections (Any) => '500'
  • max_user_connections (Any) => '0'
  • thread_cache_size (Any) => '50'
  • open_files_limit (Any) => '65535'
  • table_definition_cache (Any) => '4096'
  • table_open_cache (Any) => '100'
  • sort_buffer_size (Any) => '262144'
  • join_buffer_size (Any) => '131072'
  • innodb_flush_method (Any) => 'O_DIRECT'
  • innodb_log_files_in_group (Any) => '2'
  • innodb_log_file_size (Any) => '50331648'
  • innodb_flush_log_at_trx_commit (Any) => '2'
  • innodb_file_per_table (Any) => true
  • innodb_buffer_pool_size (Any) => ceiling(sprintf('%f', $::memorysize_mb)*838860)
  • innodb_autoinc_lock_mode (Any) => undef
  • log_queries_not_using_indexes (Any) => false
  • slow_query_log (Any) => true
  • log_error (Any) => "/var/log/mysql/${name}/mysql-error.log"
  • slow_query_log_file (Any) => "/var/log/mysql/${name}/mysql-slow.log"