From eca6130c25530f7014c1a0d9a2fdd314522850dc Mon Sep 17 00:00:00 2001 From: yuanruji Date: Thu, 26 Sep 2024 11:51:25 +0800 Subject: [PATCH] fix 333 --- dbm-ui/backend/flow/utils/mysql/mysql_act_playload.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbm-ui/backend/flow/utils/mysql/mysql_act_playload.py b/dbm-ui/backend/flow/utils/mysql/mysql_act_playload.py index 675b0ddbd7..516e6f514a 100644 --- a/dbm-ui/backend/flow/utils/mysql/mysql_act_playload.py +++ b/dbm-ui/backend/flow/utils/mysql/mysql_act_playload.py @@ -213,10 +213,10 @@ def deal_mysql_config(self, db_version: str, origin_configs: dict, init_configs: cfg["mysqld"].update(origin_configs) if db_version >= "5.7.0": cfg = self.deal_with_upgrade_to_mysql57(cfg) + is_community = False if db_version >= "8.0.0": # 这里应该是社区版本等非Tendb数据库的版本需要处理的参数 # 介质管理暂未记录介质来源属性 - is_community = False if db_version >= "8.0.30": is_community = True cfg = self.deal_with_upgrade_to_mysql80(is_community=is_community, cfg=cfg)