No CEST with JDBC

0 0
Read Time:36 Second

The server time zone value 'CEST' 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.

For some reason.

I mean, yes, I’m in the “Central European Summer Time” time zone, but JDBC should not care anyway. Stack Overflow suggests, that I should do what the error message says, and set the serverTimeZone property for the connection. Except that even if I set it, JDBC doesn’t recognise ‘CEST’. Or ‘UTC+2’.

Setting the value to ‘UTC’ works, but I’m not sure yet if it would cause any problems with date/time fields.

Happy
Happy
0 %
Sad
Sad
0 %
Excited
Excited
0 %
Sleepy
Sleepy
0 %
Angry
Angry
0 %
Surprise
Surprise
0 %

Average Rating

5 Star
0%
4 Star
0%
3 Star
0%
2 Star
0%
1 Star
0%

Leave a Reply

Your email address will not be published. Required fields are marked *