diff --git a/dbm-services/mysql/db-tools/dbactuator/pkg/components/mysql/semantic_dump_schema.go b/dbm-services/mysql/db-tools/dbactuator/pkg/components/mysql/semantic_dump_schema.go index f0c648e21a..ec4ee037c8 100644 --- a/dbm-services/mysql/db-tools/dbactuator/pkg/components/mysql/semantic_dump_schema.go +++ b/dbm-services/mysql/db-tools/dbactuator/pkg/components/mysql/semantic_dump_schema.go @@ -144,9 +144,7 @@ func (c *SemanticDumpSchemaComp) Init() (err error) { } c.dumpCmd = path.Join(cst.MysqldInstallPath, "bin", "mysqldump") c.isSpider = strings.Contains(version, "tdbctl") - if strings.Contains(version, "tmysql") { - c.useTmysqldump = true - } + if cmutil.MySQLVersionParse(version) > cmutil.MySQLVersionParse("5.6.9") { c.gtidPurgedOff = true }