修改mysql表的字符集为utf8mb4,防止存储表情时报错
ALTER TABLE `table名` CHARACTER SET = utf8mb4, convert to character set utf8mb4 collate utf8mb4_general_ci;
查看表的列信息
show full columns from table名;
修改mysql表的字符集为utf8mb4,防止存储表情时报错
ALTER TABLE `table名` CHARACTER SET = utf8mb4, convert to character set utf8mb4 collate utf8mb4_general_ci;
查看表的列信息
show full columns from table名;