diff --git a/sqle/driver/mysql/mysql.go b/sqle/driver/mysql/mysql.go index 2b0f5a6bfd..4a1368e45c 100644 --- a/sqle/driver/mysql/mysql.go +++ b/sqle/driver/mysql/mysql.go @@ -536,6 +536,10 @@ func (i *MysqlDriverImpl) GetConn() *executor.Executor { return i.dbConn } +func (i *MysqlDriverImpl) GetDSN() *driverV2.DSN { + return i.inst +} + // closeDbConn close db conn and just close once. func (i *MysqlDriverImpl) closeDbConn() { if i.isConnected {