diff --git a/sqle/api/cloudbeaver_wrapper/service/instance.go b/sqle/api/cloudbeaver_wrapper/service/instance.go index 4f94c45b42..c69f5021a0 100644 --- a/sqle/api/cloudbeaver_wrapper/service/instance.go +++ b/sqle/api/cloudbeaver_wrapper/service/instance.go @@ -284,7 +284,7 @@ func GenerateCloudBeaverInstanceParams(sqleInst *sqleModel.Instance, project *sq config := generateCommonCloudBeaverConfigParams(sqleInst, project) switch sqleInst.DbType { - case driverV2.DriverTypeMySQL: + case driverV2.DriverTypeMySQL, driverV2.DriverTypeTDSQLForInnoDB: err = fillMySQLParams(config) case driverV2.DriverTypeTiDB: err = fillTiDBParams(config) diff --git a/sqle/driver/v2/util.go b/sqle/driver/v2/util.go index ff9b6c8462..862b4c973b 100644 --- a/sqle/driver/v2/util.go +++ b/sqle/driver/v2/util.go @@ -20,13 +20,14 @@ const ( ) const ( - DriverTypeMySQL = "MySQL" - DriverTypePostgreSQL = "PostgreSQL" - DriverTypeTiDB = "TiDB" - DriverTypeSQLServer = "SQL Server" - DriverTypeOracle = "Oracle" - DriverTypeDB2 = "DB2" - DriverTypeOceanBase = "OceanBase For MySQL" + DriverTypeMySQL = "MySQL" + DriverTypePostgreSQL = "PostgreSQL" + DriverTypeTiDB = "TiDB" + DriverTypeSQLServer = "SQL Server" + DriverTypeOracle = "Oracle" + DriverTypeDB2 = "DB2" + DriverTypeOceanBase = "OceanBase For MySQL" + DriverTypeTDSQLForInnoDB = "TDSQL For InnoDB" ) type DriverNotSupportedError struct {