Skip to content

Commit b07ebe6

Browse files
committed
chart: radondb-mysql80-template cannot use mysql5 config #720
1 parent a2d0d6a commit b07ebe6

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

charts/mysql-operator/templates/mysql80_template.yaml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,9 @@ metadata:
99
data:
1010
my.cnf: |
1111
[mysqld]
12-
expire-logs-days = 7
13-
master_info_repository = TABLE
14-
query-cache-size = 0
15-
query-cache-type = 0
16-
relay_log_info_repository = TABLE
17-
slave_rows_search_algorithms = INDEX_SCAN,HASH_SCAN
18-
sql-mode = STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_VALUE_ON_ZERO,NO_ENGINE_SUBSTITUTION,NO_ZERO_DATE,NO_ZERO_IN_DATE,ONLY_FULL_GROUP_BY
12+
binlog_expire_logs_seconds = 604800
13+
default-authentication-plugin = mysql_native_password
14+
sql-mode = STRICT_TRANS_TABLES,NO_ENGINE_SUBSTITUTION
1915
binlog_format = row
2016
default-time-zone = +08:00
2117
enforce-gtid-consistency = ON
@@ -68,8 +64,6 @@ data:
6864
performance_schema = 1
6965
slave_parallel_workers = 8
7066
slave_pending_jobs_size_max = 1073741824
71-
binlog_expire_logs_seconds = 604800
72-
default-authentication-plugin = mysql_native_password
7367
federated
7468
skip-host-cache
7569
skip-name-resolve
@@ -79,7 +73,6 @@ data:
7973
!includedir /etc/mysql/conf.d
8074
plugin.cnf: |
8175
[mysqld]
82-
plugin-load = "semisync_master.so;semisync_slave.so;audit_log.so;connection_control.so"
8376
audit_log_buffer_size = 16M
8477
audit_log_exclude_accounts = "root@localhost,root@127.0.0.1,radondb_repl@%,radondb_metrics@%"
8578
audit_log_file = /var/log/mysql/mysql-audit.log
@@ -90,6 +83,7 @@ data:
9083
connection_control_failed_connections_threshold = 3
9184
connection_control_max_connection_delay = 2147483647
9285
connection_control_min_connection_delay = 1000
86+
plugin-load = "semisync_master.so;semisync_slave.so;audit_log.so;connection_control.so"
9387
rpl_semi_sync_master_enabled = OFF
9488
rpl_semi_sync_master_timeout = 1000000000000000000
9589
rpl_semi_sync_master_wait_no_slave = ON

0 commit comments

Comments
 (0)