Skip to content

Instantly share code, notes, and snippets.

@btisdall
Created April 9, 2013 12:01
Show Gist options
  • Save btisdall/5345148 to your computer and use it in GitHub Desktop.
Save btisdall/5345148 to your computer and use it in GitHub Desktop.
# mysql::server::config { 'basic_config':
# settings => {
# 'mysqld' => {
# 'query_cache_limit' => '5M',
# 'query_cache_size' => '128M',
# 'port' => 3300,
# 'skip-external-locking' => true,
# 'replicate-ignore-db' => [
# 'tmp_table',
# 'whateveryouwant'
# ]
# },
#
# 'client' => {
# 'port' => 3300
# }
# }
# }
#
# This will create the file /etc/mysql/conf.d/basic_config.cnf with
# the following content:
#
# [mysqld]
# query_cache_limit = 5M
# query_cache_size = 128M
# port = 3300
# skip-external-locking
# replicate-ignore-db = tmp_table
# replicate-ignore-db = whateveryouwant
#
# [client]
# port = 3300
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment