您的位置: 首页 > 文章 > Server returns invalid timezone. Go to 'Advanced' tab and set 'serverTimezone' property manually. Server returns invalid timezone. Go to 'Advanced' tab and set 'serverTimezone' property manually. 分类: 文章 • 2024-04-25 12:08:01 idea关联mysql数据库时,连接报错: Server returns invalid timezone. Go to ‘Advanced’ tab and set ‘serverTimezone’ property manually. 具体原因: msql的连接驱动8.0以上修改,在url上需要加上时区点击Connection type 修改defalut为URL only 在url加上jdbc:mysql://localhost/jpa?useSSL=true&serverTimezone=Asia/Shanghai 最后即可连接成功