Commit 8422d3a3439dbabd2b1bdd2589e205624eed1e68

Authored by 648540858
1 parent 6c13317f

添加数据库链接参数

src/main/resources/all-application.yml
@@ -36,7 +36,7 @@ spring: @@ -36,7 +36,7 @@ spring:
36 datasource: 36 datasource:
37 type: com.zaxxer.hikari.HikariDataSource 37 type: com.zaxxer.hikari.HikariDataSource
38 driver-class-name: com.mysql.cj.jdbc.Driver 38 driver-class-name: com.mysql.cj.jdbc.Driver
39 - url: jdbc:mysql://127.0.0.1:3306/wvp2?useUnicode=true&characterEncoding=UTF8&rewriteBatchedStatements=true&serverTimezone=PRC&useSSL=false&allowMultiQueries=true 39 + url: jdbc:mysql://127.0.0.1:3306/wvp2?useUnicode=true&characterEncoding=UTF8&rewriteBatchedStatements=true&serverTimezone=PRC&useSSL=false&allowMultiQueries=true&allowPublicKeyRetrieval=true
40 username: root 40 username: root
41 password: root123 41 password: root123
42 hikari: 42 hikari:
src/main/resources/application-dev.yml
@@ -26,7 +26,7 @@ spring: @@ -26,7 +26,7 @@ spring:
26 datasource: 26 datasource:
27 type: com.zaxxer.hikari.HikariDataSource 27 type: com.zaxxer.hikari.HikariDataSource
28 driver-class-name: com.mysql.cj.jdbc.Driver 28 driver-class-name: com.mysql.cj.jdbc.Driver
29 - url: jdbc:mysql://127.0.0.1:3306/wvp?useUnicode=true&characterEncoding=UTF8&rewriteBatchedStatements=true&serverTimezone=PRC&useSSL=false&allowMultiQueries=true 29 + url: jdbc:mysql://127.0.0.1:3306/wvp?useUnicode=true&characterEncoding=UTF8&rewriteBatchedStatements=true&serverTimezone=PRC&useSSL=false&allowMultiQueries=true&allowPublicKeyRetrieval=true
30 username: root 30 username: root
31 password: root 31 password: root
32 hikari: 32 hikari: