From 6dde9095a43bb22a465c83f12ae4e00e2f01498c Mon Sep 17 00:00:00 2001 From: dark <189192663@qq.com> Date: Sat, 6 Mar 2021 01:53:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=BF=E5=BE=97jdbc=E8=BF=9E=E6=8E=A5?= =?UTF-8?q?=E4=B8=B2=E6=94=AF=E6=8C=81mysql=208?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application-local.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/application-local.yaml b/src/main/resources/application-local.yaml index 5019cd18d..2e1c21365 100644 --- a/src/main/resources/application-local.yaml +++ b/src/main/resources/application-local.yaml @@ -7,7 +7,7 @@ spring: # 数据源配置项 TODO 多数据源;TODO 监控配置 datasource: name: ruoyi-vue-pro - url: jdbc:mysql://127.0.0.1:3306/${spring.datasource.name}?useSSL=false&useUnicode=true&characterEncoding=UTF-8&serverTimezone=CTT + url: jdbc:mysql://127.0.0.1:3306/${spring.datasource.name}?useSSL=false&useUnicode=true&characterEncoding=UTF-8&serverTimezone=CTT&allowPublicKeyRetrieval=true driver-class-name: com.mysql.jdbc.Driver username: root password: 123456