The server time zone value ‘Öйú±ê׼ʱ¼ä’ is unrecognized or represents more than one time zone。 错误等
问题应该是MySQL的驱动问题。8.0以上版本需要在访问数据库的url语句上加上一段:
?serverTimezone=GMT%2B8
以前是 jdbc:mysql://localhost:3306/XXXX ,XXXX为数据库名
更改为
jdbc:mysql://localhost:3306/XXXX?serverTimezone=GMT%2B8
The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than one time zone
最新推荐文章于 2023-12-12 17:09:01 发布