报错内容:
Server returns invalid timezone. Go to ‘Advanced’ tab and set ‘serverTimezone’ property manually.
报错起因:
在用IDEA配置本地Mysql时,报错。
解决方案:
在URL后,加上 “?serverTimezone=GMT%2B8”。
备注:
- serverTimezone:连接mysql数据库时指定了时差;
- GMT%2B8 :北京时间
最终效果:
报错内容:
Server returns invalid timezone. Go to ‘Advanced’ tab and set ‘serverTimezone’ property manually.
报错起因:
在用IDEA配置本地Mysql时,报错。
解决方案:
在URL后,加上 “?serverTimezone=GMT%2B8”。
备注:
最终效果: