diff --git a/packages/server/src/integrations/mysql.ts b/packages/server/src/integrations/mysql.ts index d71e85b0d2..80bb8de51e 100644 --- a/packages/server/src/integrations/mysql.ts +++ b/packages/server/src/integrations/mysql.ts @@ -152,7 +152,7 @@ module MySQLModule { false ) const tableNames = tablesResp.map( - (obj: any) => obj[`Tables_in_${database}`] + (obj: any) => obj[`Tables_in_${database.toLowerCase()}`] ) for (let tableName of tableNames) { const primaryKeys = []