diff --git a/backend/utils/mysql/client/remote.go b/backend/utils/mysql/client/remote.go index 9f1e0ee3b..34fe29678 100644 --- a/backend/utils/mysql/client/remote.go +++ b/backend/utils/mysql/client/remote.go @@ -279,7 +279,7 @@ func (r *Remote) SyncDB(version string) ([]SyncDBInfo, error) { if err = rows.Scan(&dbName, &charsetName); err != nil { return datas, err } - if dbName == "information_schema" || dbName == "mysql" || dbName == "performance_schema" || dbName == "sys" || dbName == "__recycle_bin__" || parts[0] == "recycle_bin" { + if dbName == "information_schema" || dbName == "mysql" || dbName == "performance_schema" || dbName == "sys" || dbName == "__recycle_bin__" || dbName == "recycle_bin" { continue } dataItem := SyncDBInfo{