SpringBoot启动报错:The server time z
2018-11-21 本文已影响21人
善良的玫瑰
报错如图
解决方法:
mysql默认服务器时区问题:修改jdbc:mysql://localhost:3306/test?useUnicode=true&characterEncoding=utf-8为jdbc:mysql://localhost:3306/test?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf-8
上一篇
下一篇