Finding which character set is used in a MySQL database / table / column?

How can I check which character set is used in a MySQL database / table / column?

Comments

  • For table: SHOW CREATE TABLE databasename.tablename

    For database: SELECT DEFAULT_CHARACTER_SET_NAME FROM information_schema.SCHEMATA

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion