java.sql.SQLException: HOUR_OF_DAY: 0 -> 1 异常解决
1989-04-16 00:00:00
,java中用Date对象接收。在select查询时,报错java.sql.SQLException: HOUR_OF_DAY: 0 -> 1
,将日期修改为其他则正常。serverTimezone=Asia/Shanghai
将mysql链接中配置的serverTimezone=Asia/Shanghai
改为serverTimezone=GMT%2B8