jjzjj

useLegacyDatetimeCode

全部标签

mysql - 尝试在 MySQL 中将 useLegacyDatetimeCode 设置为 false 失败

当我在我的JDBC连接属性中设置useLegacyDatetimeCode=false时,我收到此错误消息:java.sql.SQLException:Theservertimezonevalue'CET'representsmorethanonetimezone.YoumustconfigureeithertheserverorJDBCdriver(viatheserverTimezoneconfigurationproperty)touseamorespecifctimezonevalueifyouwanttoutilizetimezonesupport.Thetimezonest