Browse Source

fix: allowPublicKeyRetrieval 导致 No operations allowed after connection closed

master
wangxiang 1 year ago
parent
commit
ac5f247f05
  1. 2
      kicc-common-demo/kicc-common-demo-seata/kicc-seata-order/src/main/resources/bootstrap.yml
  2. 2
      kicc-common-demo/kicc-common-demo-seata/kicc-seata-point/src/main/resources/bootstrap.yml
  3. 2
      kicc-common-demo/kicc-common-demo-seata/kicc-seata-user/src/main/resources/bootstrap.yml
  4. 2
      kicc-register/src/main/resources/bootstrap.yml

2
kicc-common-demo/kicc-common-demo-seata/kicc-seata-order/src/main/resources/bootstrap.yml

@ -15,7 +15,7 @@ spring: @@ -15,7 +15,7 @@ spring:
driver-class-name: com.mysql.cj.jdbc.Driver
username: ${MYSQL_USER:root}
password: ${MYSQL_PWD:root}
url: jdbc:mysql://${MYSQL_HOST:127.0.0.1}:${MYSQL_PORT:3306}/${MYSQL_DB:kicc}?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowMultiQueries=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
url: jdbc:mysql://${MYSQL_HOST:127.0.0.1}:${MYSQL_PORT:3306}/${MYSQL_DB:kicc}?useSSL=false&allowMultiQueries=true&serverTimezone=Asia/Shanghai
# mybatis-plus配置
mybatis-plus:

2
kicc-common-demo/kicc-common-demo-seata/kicc-seata-point/src/main/resources/bootstrap.yml

@ -15,7 +15,7 @@ spring: @@ -15,7 +15,7 @@ spring:
driver-class-name: com.mysql.cj.jdbc.Driver
username: ${MYSQL_USER:root}
password: ${MYSQL_PWD:root}
url: jdbc:mysql://${MYSQL_HOST:127.0.0.1}:${MYSQL_PORT:3306}/${MYSQL_DB:kicc}?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowMultiQueries=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
url: jdbc:mysql://${MYSQL_HOST:127.0.0.1}:${MYSQL_PORT:3306}/${MYSQL_DB:kicc}?useSSL=false&allowMultiQueries=true&serverTimezone=Asia/Shanghai
# mybatis-plus配置
mybatis-plus:

2
kicc-common-demo/kicc-common-demo-seata/kicc-seata-user/src/main/resources/bootstrap.yml

@ -20,7 +20,7 @@ spring: @@ -20,7 +20,7 @@ spring:
driver-class-name: com.mysql.cj.jdbc.Driver
username: ${MYSQL_USER:root}
password: ${MYSQL_PWD:root}
url: jdbc:mysql://${MYSQL_HOST:127.0.0.1}:${MYSQL_PORT:3306}/${MYSQL_DB:kicc}?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowMultiQueries=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
url: jdbc:mysql://${MYSQL_HOST:127.0.0.1}:${MYSQL_PORT:3306}/${MYSQL_DB:kicc}?useSSL=false&allowMultiQueries=true&serverTimezone=Asia/Shanghai
# feign配置
feign:

2
kicc-register/src/main/resources/bootstrap.yml

@ -7,7 +7,7 @@ db: @@ -7,7 +7,7 @@ db:
user: ${MYSQL_USER:u_kanglai_account}
password: ${MYSQL_PWD:$kanglai.<2021>#}
url:
0: jdbc:mysql://${MYSQL_HOST:139.9.72.189}:${MYSQL_PORT:8052}/${MYSQL_DB:db_kicc_config}?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
0: jdbc:mysql://${MYSQL_HOST:139.9.72.189}:${MYSQL_PORT:8052}/${MYSQL_DB:db_kicc_config}?useSSL=false&allowMultiQueries=true&serverTimezone=Asia/Shanghai
nacos:
core:

Loading…
Cancel
Save