IDEA连接数据库出现“服务器返回无效的时区。需要设置 ‘serverTimezone’ 属性”问题 jdbc:mysql://localhost:3366?serverTimezone=UTC 在点击测试连接 如图,连接成功