fix[litemall-db]:数据库的连接增加allowPublicKeyRetrieval配置,否则MySQL8会报错
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user