information_schema DBに直接クエリを実行します: select TABLE_NAME from INFORMATION_SCHEMA where TABLE_SCHEMA='yourdbnamehere'