com.mysql.cj.exceptions.InvalidC

2019-03-05  本文已影响0人  星星队长

Caused by: com.mysql.cj.exceptions.InvalidConnectionAttributeException: 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.

--
数据库连接字符串追加 &serverTimezone=UTC
明确指定数据库服务器时区

上一篇 下一篇

猜你喜欢

热点阅读