当前位置:网站首页>Solve server returns invalid timezone Go to ‘Advanced’ tab and set ‘serverTimezone’ property manually

Solve server returns invalid timezone Go to ‘Advanced’ tab and set ‘serverTimezone’ property manually

2022-07-07 12:18:00 Literary and artistic inclination

Report errors :

Connect Mysql8.0 When ,IDEA The following error occurred , This is a time zone problem .Server returns invalid timezone. Go to ‘Advanced’ tab and set ‘serverTimezone’ property manually.

 Insert picture description here

reason :

mysql The default time zone conflicts with the current time zone .

Solution :

stay Advanced( senior ) Revision in China serverTimezone attribute ( temporary )

serverTimezone Asia/Shanghai

 Insert picture description here
Test connection :
 Insert picture description here
Successful connection !

原网站

版权声明
本文为[Literary and artistic inclination]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/188/202207071024428725.html