mysql 遇到 emoji 表情符号

mysql 5.5.3 版本以上的版本才支持哦

代码清单

-- 修改字段字符集
alter table tbl_name CHANGE column_a
`column_a` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT 'xxxx';


blog comments powered by Disqus

Published

16 March 2017

Tags