mysql默认服务器时区问题:修改jdbc:mysql://localhost:3306/test?useUnicode=true&characterEncoding=utf-8为
jdbc:mysql://localhost:3306/test?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf-8
参考:
https://www.cnblogs.com/bobofei/p/9958054.html
如果需要更改Mysql时区参考:
mysql修改时区:
https://blog.csdn.net/weixin_39033443/article/details/81711306
Windows10 mysql命令报错:
https://blog.csdn.net/qq_35685189/article/details/83751050
install mysql命令报错:
https://blog.csdn.net/lxpbs8851/article/details/14161935