maven中导入jdbc的坑

连接时报错:
java.sql.SQLException: The server time zone value 'xxx' is unrecognized or represents more than one time zone.

检查后发现是时区问题
在url中添加参数即可解决

posted @ 2020-04-22 10:26  退役的熬夜选手  阅读(568)  评论(0编辑  收藏  举报