将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的解决方案
2022-03-02 17:10:27
将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的解决方案