用spring-boot是运行mysql报错
The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration property) to use a more specifc time zone value if you want to utilize time zone support.
翻译过来是时区的问题
使用root用户登录mysql,按照如下图所示操作即可。
show variables like '%time_zone%';
然后再执行
set global time_zone='+8:00';
这样即可