本篇文章小编给大家分享一下解决IDEA错误Cause: java.sql.SQLException: The server time zone value方法,文章介绍的很详细,小编觉得挺不错的,现在分享给大家供大家参考,有需要的小伙伴们可以来看看。
在我们配置文件的时候 运行会报The server time zone的错
Cause: java.sql.SQLException: The server time zone value
错误源头
解决办法
添加如下的代码
不要忘了有?
?serverTimezone=Asia/Shanghai
再次运行即可