From 82fd7c1ce51f15eb0fd3cf9df95385fa9b9c0006 Mon Sep 17 00:00:00 2001 From: ycz008 Date: Mon, 28 Aug 2023 10:58:59 +0800 Subject: [PATCH] update: my.cnf --- dev-upgrade/mysql/mysql-dev.yaml | 1 + dev-upgrade/mysql/mysql-release.yaml | 1 + prod-upgrade/mysql/mysql.yaml | 1 + sdet-upgrade/mysql/mysql-drill.yaml | 1 + 4 files changed, 4 insertions(+) diff --git a/dev-upgrade/mysql/mysql-dev.yaml b/dev-upgrade/mysql/mysql-dev.yaml index 08c806c..798cfd2 100644 --- a/dev-upgrade/mysql/mysql-dev.yaml +++ b/dev-upgrade/mysql/mysql-dev.yaml @@ -17,6 +17,7 @@ spec: containers: - name: mysql image: mysql:8.0.33 + command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --max_connections=2000 --binlog_expire_logs_seconds=432000 ports: - containerPort: 3306 volumeMounts: diff --git a/dev-upgrade/mysql/mysql-release.yaml b/dev-upgrade/mysql/mysql-release.yaml index 9b5328a..a772f74 100644 --- a/dev-upgrade/mysql/mysql-release.yaml +++ b/dev-upgrade/mysql/mysql-release.yaml @@ -17,6 +17,7 @@ spec: containers: - name: mysql image: mysql:8.0.33 + command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --max_connections=2000 --binlog_expire_logs_seconds=432000 ports: - containerPort: 3306 volumeMounts: diff --git a/prod-upgrade/mysql/mysql.yaml b/prod-upgrade/mysql/mysql.yaml index ef11e0c..5710b0b 100644 --- a/prod-upgrade/mysql/mysql.yaml +++ b/prod-upgrade/mysql/mysql.yaml @@ -16,6 +16,7 @@ spec: containers: - name: mysql image: mysql:8.0.33 + command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --max_connections=2000 --binlog_expire_logs_seconds=432000 ports: - containerPort: 3306 volumeMounts: diff --git a/sdet-upgrade/mysql/mysql-drill.yaml b/sdet-upgrade/mysql/mysql-drill.yaml index 908c007..b6f7c54 100644 --- a/sdet-upgrade/mysql/mysql-drill.yaml +++ b/sdet-upgrade/mysql/mysql-drill.yaml @@ -22,6 +22,7 @@ spec: containers: - name: mysql-drill image: mysql:8.0.33 + command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --max_connections=2000 --binlog_expire_logs_seconds=432000 ports: - containerPort: 3306 volumeMounts: