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

This commit is contained in:
337031187
2023-06-15 12:07:51 +08:00
parent 6e5cb382f1
commit 01c20fd116
8 changed files with 12 additions and 12 deletions

View File

@@ -30,7 +30,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: