IDEA 2020.3 连接mysql数据库报错解决
生活随笔
收集整理的这篇文章主要介绍了
IDEA 2020.3 连接mysql数据库报错解决
小编觉得挺不错的,现在分享给大家,帮大家做个参考.
IDEA 2020.3 连接mysql数据库报错解决
问题:
Cannot connect to “Connection”.
The server time zone value ‘�й���ʱ��’ is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the ‘serverTimezone’ configuration property) to use a more specifc time zone value if you want to utilize time zone support.
如图所示:
解决措施:
在连接字符串后面加上?serverTimezone=UTC
总结
以上是生活随笔为你收集整理的IDEA 2020.3 连接mysql数据库报错解决的全部内容,希望文章能够帮你解决所遇到的问题。
- 上一篇: OJ1043: 最大值(C语言)
- 下一篇: jpa 人大金仓数据库方言_国产数据库的