Server returns invalid timezone. Go to Advanced tab and set servertimezone property manually

Puchkii picture Puchkii · Aug 27, 2019 · Viewed 56.9k times · Source

My Intelij IDE wont connect to my database server of MySQL Workbench, it specifies it as a timezone problem and wants me to go to advanced tab and set serverTimezone property manually.

I tried looking if there where a similar problem but i cant seem to find it.

Answer

CrazyCoder picture CrazyCoder · Aug 27, 2019

In the Database tool window, right click on the data source, choose Properties (Shift+Enter), click on the Advanced tab.

Set the serverTimezone property to UTC.

See also the corresponding documentation page.

Advanced