简单问题集合

  1. java.sql.SQLException: The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than one time

原因:数据库和系统时区差异所造成的
解决:加url后加serverTimezone=GMT%2B8,如spring.datasource.url=jdbc:mysql://localhost:3306/aicompetition?useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8

posted @ 2019-08-27 10:21  火鸦哈士奇  阅读(81)  评论(0编辑  收藏  举报