Du kan bruge informationsskema til at kende motoren for hver tabel.
select table_name,engine
from information_schema.tables
where table_schema = 'your_database'
Til kodningen kan du bruge
show create table table_name
eller endnu bedre
select
c.character_set_name
from information_schema.tables as t,
information_schema.collation_character_set_applicability as c
where c.collation_name = t.table_collation
and t.table_schema = "your_db"
and t.table_name = "table_name";