The server time zone value '�й���ʱ��' is unrecognized or represents more than one time zone.
使用mysql出现如下错误
解决方案
在数据库连接字符串指定time zone
jdbc:mysql://127.0.0.1:3306/test?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai
在数据库连接字符串指定time zone
jdbc:mysql://127.0.0.1:3306/test?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai