/
The server time zone value 'CDT' is unrecognised or represents more than one time zone.
Got feedback or spotted a mistake?
Leave a comment at the end of this page or email contact@krishagni.com
The server time zone value 'CDT' is unrecognised or represents more than one time zone.
Reason: This error comes from the JDBC driver. The driver obtains a three-letter time zone code. These three-letter codes have been deprecated, and some of the codes, such as "CDT," are ambiguous. In this case, "CDT" could refer to "Central Daylight Time" or "Cuba Daylight Time", so this code is not a valid time zone identifier.
Add the “serverTimezone“ parameter to the JDBC URL in the $Tomcat_Dir/conf/context.xml file as below.
Example of the serverTimezone setting in context.xml file.
"jdbc:mysql://HOST:PORT/DATABASE?serverTimezone=America/New_York"
2. Restart the Tomcat service
, multiple selections available,
Related content
Timezone issues
Timezone issues
More like this
Locale and timezone handling
Locale and timezone handling
Read with this
HTTP 405: Requests from origin server not allowed.
HTTP 405: Requests from origin server not allowed.
More like this
Error "Data truncation: Data too long for column"
Error "Data truncation: Data too long for column"
More like this
Error :Caused by: java.sql.SQLException: ORA-28001: the password has expired
Error :Caused by: java.sql.SQLException: ORA-28001: the password has expired
Read with this
How to fix the global search results?
How to fix the global search results?
More like this
Got feedback or spotted a mistake?
Leave a comment at the end of this page or email contact@krishagni.com