From 8dae438d92a24833bbe0e346b9f2ee97a20792e0 Mon Sep 17 00:00:00 2001 From: Junling Bu Date: Tue, 9 Oct 2018 14:39:23 +0800 Subject: [PATCH] =?UTF-8?q?fix[litemall-db]:=E6=95=B0=E6=8D=AE=E5=BA=93?= =?UTF-8?q?=E7=9A=84=E8=BF=9E=E6=8E=A5=E5=A2=9E=E5=8A=A0allowPublicKeyRetr?= =?UTF-8?q?ieval=E9=85=8D=E7=BD=AE=EF=BC=8C=E5=90=A6=E5=88=99MySQL8?= =?UTF-8?q?=E4=BC=9A=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy/litemall/application-db.yml | 2 +- litemall-db/src/main/resources/application-db.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy/litemall/application-db.yml b/deploy/litemall/application-db.yml index 583a0c64..ef526211 100644 --- a/deploy/litemall/application-db.yml +++ b/deploy/litemall/application-db.yml @@ -7,7 +7,7 @@ pagehelper: spring: datasource: druid: - url: jdbc:mysql://localhost:3306/litemall?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC&verifyServerCertificate=false&useSSL=false + url: jdbc:mysql://localhost:3306/litemall?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC&allowPublicKeyRetrieval=true&verifyServerCertificate=false&useSSL=false driver-class-name: com.mysql.jdbc.Driver username: litemall password: litemall123456 diff --git a/litemall-db/src/main/resources/application-db.yml b/litemall-db/src/main/resources/application-db.yml index 583a0c64..ef526211 100644 --- a/litemall-db/src/main/resources/application-db.yml +++ b/litemall-db/src/main/resources/application-db.yml @@ -7,7 +7,7 @@ pagehelper: spring: datasource: druid: - url: jdbc:mysql://localhost:3306/litemall?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC&verifyServerCertificate=false&useSSL=false + url: jdbc:mysql://localhost:3306/litemall?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC&allowPublicKeyRetrieval=true&verifyServerCertificate=false&useSSL=false driver-class-name: com.mysql.jdbc.Driver username: litemall password: litemall123456