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
It worked for me just by adding serverTimeZone=UTC on application.properties. spring.datasource.url=jdbc:mysql://localhost/db?serverTimezone=UTC
spring.datasource.url=jdbc:mysql://localhost/db?serverTimezone=UTC