From 3c3161c64b7fac25154c7b157759d8c6a78ee2e8 Mon Sep 17 00:00:00 2001 From: yuanruji Date: Fri, 1 Nov 2024 15:14:02 +0800 Subject: [PATCH] fix(dbm-services): upgrade ignore loose_secure_auth mysql5.7 #7707 --- .../db-tools/dbactuator/pkg/components/mysql/mysql_upgrade.go | 1 + 1 file changed, 1 insertion(+) diff --git a/dbm-services/mysql/db-tools/dbactuator/pkg/components/mysql/mysql_upgrade.go b/dbm-services/mysql/db-tools/dbactuator/pkg/components/mysql/mysql_upgrade.go index 4bd911473c..7e1c2cfec3 100644 --- a/dbm-services/mysql/db-tools/dbactuator/pkg/components/mysql/mysql_upgrade.go +++ b/dbm-services/mysql/db-tools/dbactuator/pkg/components/mysql/mysql_upgrade.go @@ -431,6 +431,7 @@ func (m *MysqlUpgradeComp) upgradeMycnf(port int) (err error) { fallthrough case m.newVersion.MysqlVersion > native.MYSQL_5P70: cff.Cfg.Section(section).DeleteKey("secure_auth") + cff.Cfg.Section(section).DeleteKey("loose_secure_auth") cff.Cfg.Section(section).DeleteKey("innodb_additional_mem_pool_size") cff.Cfg.Section(section).DeleteKey("innodb_create_use_gcs_real_format") cff.Cfg.Section(section).DeleteKey("thread_concurrency")