com.mysql.cj.core.exceptions.InvalidConnectionAttributeException: The server time zone value &#39...

限于喜欢 提交于 2021-02-20 05:41:52
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>1.8</java.version>
<druid.version>1.0.9</druid.version>
<mybatis.boot.starter.version>1.3.0</mybatis.boot.starter.version>
<mysql.connector.java.version>8.0.15</mysql.connector.java.version>
</properties>

 




datasource:
url: jdbc:mysql://localhost:3306/db_pack_case?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC
username: root
password: root
driver-class-name: com.mysql.cj.jdbc.Driver
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!