标签:ring mysql5.5 图片 font default bubuko cmd oca serve
一、mysql连接报错
mysql5.5 springboot2.0
The server time zone value ‘?D1ú±ê×?ê±??‘ is unrecognized or represents
修改my.ini
搜索[mysqld]节点在节点下面加上下面这句话
default-time-zone=‘+08:00‘
然后记得重启MySQL的服务,打开cmd窗口登录MySQL执行show variables like ‘%time_zone%‘;这句命令
其他方法就是修改连接的url
&serverTimezone=UTC
jdbc:mysql://localhost:3306/spring_boot?serverTimezone=GMT+8
标签:ring mysql5.5 图片 font default bubuko cmd oca serve
原文地址:https://www.cnblogs.com/lyon91/p/10107826.html