Merge "Force MySQL / MariaDB log_warnings to 1"

This commit is contained in:
Zuul 2020-11-23 00:23:09 +00:00 committed by Gerrit Code Review
commit 04fabb2aa4
3 changed files with 3 additions and 0 deletions

View File

@ -171,6 +171,7 @@ class tripleo::profile::base::database::mysql (
'innodb_file_per_table' => 'ON',
'innodb_log_file_size' => $innodb_log_file_size,
'innodb_lock_wait_timeout' => $innodb_lock_wait_timeout,
'log_warnings' => '1',
'table_open_cache' => $table_open_cache,
'innodb_flush_method' => $innodb_flush_method,
'query_cache_size' => '0',

View File

@ -194,6 +194,7 @@ class tripleo::profile::pacemaker::database::mysql (
'query_cache_size' => '0',
'query_cache_type' => '0',
'bind-address' => $bind_address,
'log_warnings' => '1',
'max_connections' => hiera('mysql_max_connections'),
'open_files_limit' => '65536',
'wsrep_on' => 'ON',

View File

@ -296,6 +296,7 @@ class tripleo::profile::pacemaker::database::mysql_bundle (
'query_cache_size' => '0',
'query_cache_type' => '0',
'bind-address' => $bind_address,
'log_warnings' => '1',
'max_connections' => hiera('mysql_max_connections'),
'open_files_limit' => '65536',
'wsrep_on' => 'ON',