INFORMATION_SCHEMA MySQL :: MySQL 5.5 Reference Manual :: 21 INFORMATION_SCHEMA Tables https://dev.mysql.com/doc/refman/5.5/en/information-schema.html INFORMATION_SCHEMA Usage Notes INFORMATION_SCHEMA is a database within each MySQL instance, the pla…
2. CHARACTER_SETS CHARACTER_SETS表提供有关可用字符集的信息. 下表中的SHOW Name值对应于SHOW CHARACTER SET语句的列名. INFORMATION_SCHEMA Name SHOW Name Remarks CHARACTER_SET_NAME Charset DEFAULT_COLLATE_NAME Default collation DESCRIPTION Description MySQL extension MAXLEN Maxlen…
1. Mysql支持的字符集 MySQL服务器可以支持多种字符集,不同的字段都可以使用不同的字符集. 查看所有可用字符集: show character set; select * from information_schema.character_sets; MySQL的字符集包括字符集(CHARACTER)和校对规则(COLLATION)两个概念.其中字符集定义MySQL存储字符串的方式,校对规则用来定义比较字符串的方式.字符集和校对规则是一对多的关系. 注:目前线上服务器上用utf8mb4…