当在IDEA自带的Database工具中连接MySQL数据库时会报出这样的错误提示:Server returns invalid timezone. Go to ‘Advanced’ tab and set ‘serverTimezone’ property manually. 解决 在连接字符串后加?serverTimezone=Asia/Shanghai,如果前面有别的参数了,问号‘?’要替换为逻辑与‘&’ 相关文章: 2021-11-24 2022-01-18 2021-05-26 2021-09-28 2021-03-31 2022-12-23 2022-01-09 2021-08-14