java.sql.SQLException: The server time zone value ‘�й���ʱ��‘ is unrecognized or represents
springboot连接mysql报错,实际错误如下图所示:
测试后,解决方法如下:
在application中url后加上:
?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf-8
实测解决上述问题,连接正常。
java.sql.SQLException: The server time zone value ‘�й���ʱ��‘ is unrecognized or represents
springboot连接mysql报错,实际错误如下图所示:
测试后,解决方法如下:
在application中url后加上:
?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf-8
实测解决上述问题,连接正常。