MySQL JDBC Driver 5.1.33 - Time Zone Issue

前端 未结 30 1659
栀梦
栀梦 2020-11-22 05:22

Some background:

I have a Java 1.6 webapp running on Tomcat 7. The database is MySQL 5.5. Previously, I was using Mysql JDBC driver 5.1.23 to connect to the DB. Ever

30条回答
  •  轮回少年
    2020-11-22 06:06

    I also was having the exact same problem in LibreOffice Base. So I just specified a non 'daylight savings time zone' in the connection string.

    I tried without the "&serverTimezone=MST" but that failed as well.

    I also tried "&serverTimezone=MDT" and that failed, so for some reason, it doesn't like daylight savings time!

提交回复
热议问题