The server time zone value 'garbled' error

When writing a small Demo today, connecting to database SQLException: The server time zone value error, but also scary encounter a variety of errors today

After Baidu some find this error solved. There are differences in the new time zone and local time zone database used

A prefix string after the database is connected serverTimezone = UTC can

 

Guess you like

Origin www.cnblogs.com/wanguncle/p/11432869.html