解决错误:javax.net.ssl.SSLException MESSAGE: closing inbound before receiving peer’s close_notify和The server time zone value ‘?й???’ is unrecognized
假如你在使用springboot,你想体验升级后的mysql8.0以上版本数据库,就需要修改对应的驱动版本,且在application.yml配置文件中,配置连接数据库的url时,加上useSSL=false和serverTimezone=GMT%2B8。格式如下:

spring:

datasource:

driver-class-name: com.mysql.cj.jdbc.Driver

url:jdbc:mysql://localhost:3306/your_db_name?serverTimezone=GMT%2B8&useSSL=false

否则会报如下错误:
在这里插入图片描述

javax.net.ssl.SSLException MESSAGE:

请同时在url后面加上:

&serverTimezone=GMT%2B8
否则可能还会出现出现The server time zone value ‘?й???’ is unrecognized错误:
javax.net.ssl.SSLException MESSAGE:

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-02-28
  • 2021-06-05
  • 2021-09-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-07-02
  • 2021-10-10
  • 2022-03-03
  • 2021-08-29
  • 2022-01-21
  • 2021-07-31
  • 2021-12-26
相关资源
相似解决方案