java查询的日期时间与mysql数据库中差了8小时

解决方案:&serverTimezone=Asia/Shanghai  加在url后面

原文地址:https://www.cnblogs.com/qinyios/p/13197066.html