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