The sever time reprents more than one tie zoe.

简介: The sever time reprents more than one tie zoe.

```java

This application has no explicit mapping for /error, so you are seeing this as a fallback.


Sat May 30 18:13:05 CST 2020

There was an unexpected error (type=Internal Server Error, status=500).

Failed to obtain JDBC Connection; nested exception is java.sql.SQLException: The server time zone value '?????????' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the 'serverTimezone' configuration property) to use a more specifc time zone value if you want to utilize time zone support.


```

翻译为:

此应用程序没有针对/错误的显式映射,因此您将此视为回退。 卫星5月30日18:13:05CST2020有一个意外的错误(类型=内部服务器错误,状态=500)。 未能获得JDBC连接;嵌套异常java.sql.SQLException:服务器时区值‘????????‘ 未识别或表示多个时区。 如果要使用时区支持,则必须配置服务器或JDBC驱动程序(通过“服务器时区”配置属性)以使用更具体的时区值。


**这是由于数据库和系统时区差异所造成的,在jdbc连接的url后面加上serverTimezone=GMT即可解决问题**

目录
相关文章
|
7月前
|
前端开发 JavaScript API
Server-Sent Events)
服务器发送事件(Server-Sent Events,简称SSE)是一种基于HTTP协议的实时通信技术,允许服务器向客户端推送实时消息。与传统的轮询和长轮询相比,SSE提供了更高效和实时的数据推送机制。
204 2
|
7月前
|
测试技术
Could not proxy command to the remote server. Original error: timeout of 240000ms exceeded 的解决办法
Could not proxy command to the remote server. Original error: timeout of 240000ms exceeded 的解决办法
255 0
|
SQL druid 关系型数据库
MySQL连接超时时间wait_timeout导致间歇性报错:communication link failure
MySQL连接超时时间wait_timeout导致间歇性报错:communication link failure
838 1
|
7月前
|
数据库连接
数据库连接的时区问题 The server time zone value is unrecognized
数据库连接的时区问题 The server time zone value is unrecognized
131 0
|
关系型数据库 MySQL Java
MySQL 数据库时区设置方法,“The server time zone value ‘�й���׼ʱ��‘ is unrecognized or represents ...” 问题解决
MySQL 数据库时区设置方法,“The server time zone value ‘�й���׼ʱ��‘ is unrecognized or represents ...” 问题解决
538 0
|
运维 监控 网络协议
Windows 产生大量 TIME_WAIT 连接
Windows 产生大量 TIME_WAIT 连接
|
关系型数据库 MySQL Java
The server time zone value ‘锟叫癸拷锟斤拷\u05FC时锟斤拷‘ is unrecognized or represents more than one time zone
The server time zone value ‘锟叫癸拷锟斤拷\u05FC时锟斤拷‘ is unrecognized or represents more than one time zone
The server time zone value ‘锟叫癸拷锟斤拷\u05FC时锟斤拷‘ is unrecognized or represents more than one time zone
|
Java 数据库连接
JDBC - The server time zone value ‘???‘ is unrecognized or represents more than one time zone
JDBC - The server time zone value ‘???‘ is unrecognized or represents more than one time zone
104 0
|
网络安全
Jmeter系列(44)- 详解 Elapsed time、Latency、Connect Time的含义
Jmeter系列(44)- 详解 Elapsed time、Latency、Connect Time的含义
356 0