useUnicode=true 数据库链接 避免出现em 无法存储的问题

This commit is contained in:
337031187
2023-06-15 12:07:51 +08:00
parent 4edab59a83
commit d5c52d0575
8 changed files with 12 additions and 12 deletions

View File

@@ -33,7 +33,7 @@ spring:
datasource:
type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: com.mysql.jdbc.Driver
url: jdbc:mysql://127.0.0.1:3306/crmeb?characterEncoding=utf-8&useSSL=false&serverTimeZone=GMT+8
url: jdbc:mysql://127.0.0.1:3306/crmeb?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimeZone=GMT+8
username: crmeb
password: 111111
redis: