Commit 8dae438d authored by Junling Bu's avatar Junling Bu
Browse files

fix[litemall-db]:数据库的连接增加allowPublicKeyRetrieval配置,否则MySQL8会报错

parent 420650e8
...@@ -7,7 +7,7 @@ pagehelper: ...@@ -7,7 +7,7 @@ pagehelper:
spring: spring:
datasource: datasource:
druid: 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 driver-class-name: com.mysql.jdbc.Driver
username: litemall username: litemall
password: litemall123456 password: litemall123456
......
...@@ -7,7 +7,7 @@ pagehelper: ...@@ -7,7 +7,7 @@ pagehelper:
spring: spring:
datasource: datasource:
druid: 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 driver-class-name: com.mysql.jdbc.Driver
username: litemall username: litemall
password: litemall123456 password: litemall123456
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment