mysql The server time zone value 异常

测试时报The server time zone value '这部分内容是乱码' is unrecognized or represents more than one time zone

为了解决这个问题,

url=jdbc:mysql://localhost:3306/test?useUnicode=true$characterEncoding=utf8

改为

url=jdbc:mysql://localhost:3306/test?serverTimezone=UTC

你可能感兴趣的:(sql)