how to check the charset and collation of mysql database? or what command to the charset and collation of mysql database?

Thanks

link|improve this question

feedback

1 Answer

up vote 2 down vote accepted

Try,

SHOW CREATE DATABASE database-name

And for seeing the collation of tables inside,

SHOW CREATE TABLE table-name
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.