首页 > 技术文章 > mysql设置表的字符集

chxuyuan 2018-06-26 16:33 原文

--修改表的编码为utf8

alter table store_warehouse convert to character set utf8;


--查看表中每个字段的字符集
show full fields from store_warehouse;

推荐阅读