From 492eb26511698d44dd1d232b77c966ecf4a67065 Mon Sep 17 00:00:00 2001 From: Huong Nguyen Date: Wed, 27 Nov 2024 14:01:56 +0700 Subject: [PATCH] Ignore character encoding set by MySQL client --- .../modules/docker-database/mysqli.d/primary/conf.d/primary.cnf | 2 +- .../modules/docker-database/mysqli.d/replica/conf.d/moodle.cnf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/runner/main/modules/docker-database/mysqli.d/primary/conf.d/primary.cnf b/runner/main/modules/docker-database/mysqli.d/primary/conf.d/primary.cnf index 5309d41..03abf08 100644 --- a/runner/main/modules/docker-database/mysqli.d/primary/conf.d/primary.cnf +++ b/runner/main/modules/docker-database/mysqli.d/primary/conf.d/primary.cnf @@ -6,7 +6,7 @@ innodb_file_per_table = 1 character-set-server = utf8mb4 collation-server = utf8mb4_bin -skip-character-set-client-handshake +skip-character-set-client-handshake = 1 key_buffer_size = 768M table_open_cache = 12000 diff --git a/runner/main/modules/docker-database/mysqli.d/replica/conf.d/moodle.cnf b/runner/main/modules/docker-database/mysqli.d/replica/conf.d/moodle.cnf index f1fff2e..1b1490b 100644 --- a/runner/main/modules/docker-database/mysqli.d/replica/conf.d/moodle.cnf +++ b/runner/main/modules/docker-database/mysqli.d/replica/conf.d/moodle.cnf @@ -6,7 +6,7 @@ innodb_file_per_table = 1 character-set-server = utf8mb4 collation-server = utf8mb4_bin -skip-character-set-client-handshake +skip-character-set-client-handshake = 1 key_buffer_size = 768M table_open_cache = 12000