Geralmente é mais fácil interagir com o
INFORMATION_SCHEMA
base de dados:http://dev.mysql.com/doc/refman /5.0/en/tables-table.html
Exemplo:
SELECT TABLE_NAME AS _tables
FROM INFORMATION_SCHEMA.TABLES
WHERE TABLE_SCHEMA = 'mydb'
INFORMATION_SCHEMA
base de dados:SELECT TABLE_NAME AS _tables
FROM INFORMATION_SCHEMA.TABLES
WHERE TABLE_SCHEMA = 'mydb'