For some reason I am getting this error while trying to start my java app.
java.sql.SQLException: The server time zone value 'AEDT' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration property) to use a more specifc time zone value if you want to utilize time zone support.
I would like to be able to change the timezone on the connection string. So far I tried this:
javax.persistence.jdbc.url" value="jdbc:mysql://localhost:3306/returnit?useLegacyDatetimeCode=false&serverTimezone=UTC"
and this:
javax.persistence.jdbc.url" value="jdbc:mysql://localhost:3306/returnit?useLegacyDatetimeCode=false&serverTimezone=Australia/Sydney"
But for some reason mysql is not picking up the timezone and still complains about AEDT?
Mysql connector version is 6.0.6 System I am running in MacOS Mysql version is
QUESTION: Any idea about how to setup serverTimezone through connection string?
thank you very much