Możesz użyć information_schema, aby poznać silnik każdej tabeli.
select table_name,engine
from information_schema.tables
where table_schema = 'your_database'
Do kodowania możesz użyć
show create table table_name
lub jeszcze lepiej
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";