将spring.datasource.url后加入?serverTimezone=UTC
String url = "jdbc:mysql://localhost:3306/shcoolnews?serverTimezone=UTC&useUnicode=true&characterEncoding=utf8";
连接数据库出现The server time zone value '?й???????' is unrecogni的解决方案
原文:https://www.cnblogs.com/momoli/p/13865308.html