在写数据库相关项目时,出现The server time zone value '?й???????' is unrecogni异常。

Posted cnshuji

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了在写数据库相关项目时,出现The server time zone value '?й???????' is unrecogni异常。相关的知识,希望对你有一定的参考价值。

解决办法:  

spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.url=jdbc:mysql://127.0.0.1:3306/student?serverTimezone=UTC
spring.datasource.username=root
spring.datasource.password=a19770606
spring.jpa.hibernate.ddl-auto=update
spring.jpa.show-sql=true

以上是关于在写数据库相关项目时,出现The server time zone value '?й???????' is unrecogni异常。的主要内容,如果未能解决你的问题,请参考以下文章

Can't connect to X11 window server using ':1.0' as the value of the DISPLAY variable.(示例

运行arcgis出现Provide your license server administrator with the following information.如何解决

Tomcat异常:The Tomcat server configuration atServersTomcat v9.0 Server at localhost-c

webpack打包时报错:Support for the experimental syntax 'classProperties' isn't currently enabl

eclipse导入git项目出现There are no resources that can be added or removed from the server错误

解决 There are no resources that can be added or removed from the server