From 39c1fae59d3a0e66aa20c66d680cac26ef0e8f2e Mon Sep 17 00:00:00 2001 From: ycz008 Date: Mon, 28 Aug 2023 15:12:55 +0800 Subject: [PATCH] update: my.cnf --- prod-upgrade/nacos/mysql-local.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/prod-upgrade/nacos/mysql-local.yaml b/prod-upgrade/nacos/mysql-local.yaml index 83e5875..e768596 100644 --- a/prod-upgrade/nacos/mysql-local.yaml +++ b/prod-upgrade/nacos/mysql-local.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: