方式1:
mysql> show collation;
方式2:
mysql> show variables like 'collation%';
方式3:
mysql> select * from information_schema.character_sets;
方式4:相对于方式3,更简单些
show character set ;
方式1:
mysql> show collation;
方式2:
mysql> show variables like 'collation%';
方式3:
mysql> select * from information_schema.character_sets;
方式4:相对于方式3,更简单些
show character set ;