How do I see what character set a MySQL database / table / column is?

前端 未结 15 1442
失恋的感觉
失恋的感觉 2020-11-22 06:33

What is the (default) charset for:

  • MySQL database

  • MySQL table

  • MySQL column

15条回答
  •  北恋
    北恋 (楼主)
    2020-11-22 06:54

    For tables:

    SHOW TABLE STATUS will list all the tables.

    Filter using:

    SHOW TABLE STATUS where name like 'table_123';
    

提交回复
热议问题