MySQL JDBC驅動程序5.1.33-時區問題一些背景:我在Tomcat 7上運行了一個Java1.6webapp,數據庫是MySQL5.5。以前,我使用MySQLJDBC驅動程序5.1.23連接到DB。一切正常。我最近升級到MySQLJDBC驅動程序5.1.33。升級之后,Tomcat會在啟動應用程序時拋出這個錯誤。WARNING: Unexpected exception resolving reference
java.sql.SQLException: The server timezone value 'UTC' is unrecognized or represents more than one timezone. You must configure either the server or JDBC driver (via the serverTimezone configuration property) to use a more specifc timezone value if you want to utilize timezone support.為什么會發生這種事?
MySQL JDBC驅動程序5.1.33-時區問題
慕婉清6462132
2019-07-26 15:14:10