spring boot 的项目每天启动项目的时候都会报错---mysql时区的问题

问题描述:

‘Öйú±ê׼ʱ¼ä’ 这个就慌了,最后顺利解决


解决方式:
jdbc:mysql://localhost:3306/student?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf-8
加上一句serverTimezone=GMT就ok拉

 

posted @ 2019-01-04 15:47  文刀水告  阅读(170)  评论(0编辑  收藏  举报