IDEA 2020.3 连接mysql数据库报错解决
生活随笔
收集整理的這篇文章主要介紹了
IDEA 2020.3 连接mysql数据库报错解决
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
IDEA 2020.3 連接mysql數(shù)據(jù)庫報錯解決
問題:
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数据库报错解决的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: OJ1043: 最大值(C语言)
- 下一篇: jpa 人大金仓数据库方言_国产数据库的