consulte o banco de dados information_schema diretamente: select TABLE_NAME from INFORMATION_SCHEMA where TABLE_SCHEMA='yourdbnamehere'