关于富文本字段问题(mysql) 1、表字段字符集建议使用: utf8mb4、utf8mb4_general_ci 2、保险起见spring-boot配置: spring:datasource:connection-init-sqls: set names utf8mb4;