Googling around just finds instructions for changing from one format to another, but I can't seem to find how exactly to make sure which of开发者_StackOverflow社区 these I have first.
How can I:
- Check what character encoding a table has?
- Check what storage engine a table uses?
- Check if all tables are certain encoding?
- Check if all tables have a certain storage engine?
You can use information_schema in order to know the engine of each table.
select table_name,engine 
from information_schema.tables
where table_schema = 'your_database'
For the encoding you can use
show create table table_name
or, even better
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";
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论