spring boot 连接mysql 错误The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than one
1.spring boot 整合mybatis 连接mysql时错误
The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than one
2.解决:
jdbc:mysql://localhost:3306/new_schema?useSSL=false&serverTimezone=GMT%2B8
在地址后面加上
&serverTimezone=GMT%2B8
%2B是+号的意思,这个意思代表GMT+8(东八区).也就是北京时间