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

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

What is the (default) charset for:

  • MySQL database

  • MySQL table

  • MySQL column

15条回答
  •  清酒与你
    2020-11-22 06:48

    For databases:

    SHOW CREATE DATABASE "DB_NAME_HERE";
    

    In creating a Database (MySQL), default character set/collation is always LATIN, instead that you have selected a different one on initially creating your database

提交回复
热议问题