Update mysql datasource url,added allowPublicKeyRetrieval parameter.

pull/316/head
ruibaby 2019-09-24 20:18:05 +08:00
parent d02325b303
commit 90a5a48266
4 changed files with 4 additions and 4 deletions

View File

@ -21,7 +21,7 @@ spring:
# MySQL 配置 # MySQL 配置
# driver-class-name: com.mysql.cj.jdbc.Driver # driver-class-name: com.mysql.cj.jdbc.Driver
# url: jdbc:mysql://127.0.0.1:3306/halodb?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai # url: jdbc:mysql://127.0.0.1:3306/halodb?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
# username: root # username: root
# password: 123456 # password: 123456

View File

@ -21,7 +21,7 @@ spring:
# MySQL 配置 # MySQL 配置
# driver-class-name: com.mysql.cj.jdbc.Driver # driver-class-name: com.mysql.cj.jdbc.Driver
# url: jdbc:mysql://127.0.0.1:3306/halodb?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai # url: jdbc:mysql://127.0.0.1:3306/halodb?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
# username: root # username: root
# password: 123456 # password: 123456

View File

@ -12,7 +12,7 @@ spring:
# MySQL 配置,如果你需要使用 H2 Database请注释掉该配置并取消注释上方 H2 Database 的配置。 # MySQL 配置,如果你需要使用 H2 Database请注释掉该配置并取消注释上方 H2 Database 的配置。
# driver-class-name: com.mysql.cj.jdbc.Driver # driver-class-name: com.mysql.cj.jdbc.Driver
# url: jdbc:mysql://127.0.0.1:3306/halodb?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai # url: jdbc:mysql://127.0.0.1:3306/halodb?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
# username: root # username: root
# password: 123456 # password: 123456

View File

@ -23,7 +23,7 @@ spring:
# MySQL 配置 # MySQL 配置
# driver-class-name: com.mysql.cj.jdbc.Driver # driver-class-name: com.mysql.cj.jdbc.Driver
# url: jdbc:mysql://127.0.0.1:3306/halodb?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai # url: jdbc:mysql://127.0.0.1:3306/halodb?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
# username: root # username: root
# password: 123456 # password: 123456