在连接mysql的时候
&characterEncoding=UTF-8
参考:
https://blog.csdn.net/qq_27760433/article/details/76121783
还好当时机智,留下了配置文件