SpringBoot启动报错:The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than ...

SpringBoot启动报错:The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than ..._第1张图片
报错如图

解决方法:

mysql默认服务器时区问题:修改jdbc:mysql://localhost:3306/test?useUnicode=true&characterEncoding=utf-8为jdbc:mysql://localhost:3306/test?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf-8

你可能感兴趣的:(SpringBoot启动报错:The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than ...)