启动时出现问题
来源:6-1 关于红包收发之操作数据库(上)

weixin_慕婉清4554212
2019-07-21
启动时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.
写回答
2回答
-
慕工程6426586
2019-09-24
时区问题 在mysql运行 set global time_zone='+8:00';
就可以解决了10 -
精慕门7574427
2019-07-23
因为版本不匹配
解决:url: jdbc:mysql://127.0.0.1:3306/luckmoney?useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC
112019-08-09