Add variable mysql_performance_schema and configuration in evolinux_custom template

pull/131/head
Eric Morino 1 year ago
parent ad457dd7ba
commit ca7d8e9739
  1. 2
      mysql/defaults/main.yml
  2. 6
      mysql/templates/evolinux-custom.cnf.j2

@ -48,6 +48,8 @@ mysql_evolinux_custom_file: zzz-evolinux-custom.cnf
mysql_restart_if_needed: True
mysql_performance_schema: True
# replication variables:
mysql_replication: false
mysql_log_bin: null

@ -39,3 +39,9 @@ lower_case_table_names = {{ mysql_lower_case_table_names }}
innodb_log_file_size = {{ mysql_innodb_log_file_size }}
{% endif %}
read_only = {{ mysql_read_only }}
{% if mysql_performance_schema %}
performance_schema = ON
performance-schema-instrument='stage/%=ON'
performance-schema-consumer-events-stages-current=ON
performance-schema-consumer-events-stages-history=ON
{% endif %}

Loading…
Cancel
Save