📅  最后修改于: 2022-03-11 14:52:25.211000             🧑  作者: Mango
// For full UTF-8 setup, the following should work
spring.datasource.url=jdbc:mysql://localhost/schemaName?useTimezone=true
&serverTimezone=UTC&useUnicode=true&characterEncoding=UTF-8
// If using data.sql for data init.
spring.datasource.sqlScriptEncoding=UTF-8