字符集
-- 查看MySQL支持的字符集SHOW CHARACTER SET;-- 查看某个字符集支持的校验集,例如:utf8mb4SHOW COLLATION WHERE Charset = 'utf8mb4';-- 获取服务器的字符集SHOW VARIABLES LIKE 'character_set_system';
校验集后缀说明
参考链接:https://dev.mysql.com/doc/refman/8.0/en/charset-collation-names.html
| 后缀 | 意义 |
|---|---|
| _ai | 口音不敏感 |
| _as | 口音敏感 |
| _ci | 不区分大小写 |
| _cs | 区分大小写 |
| _ks | 假名敏感 |
| _bin | 二进制 |
