使用Datagrip连接MySQL数据,用户名和密码正确的情况下,出现以下问题:

java.lang.RuntimeException: com.mysql.cj.exceptions.InvalidConnectionAttributeException: 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.

解决方法,点击 Driver: MySQL -> Go to Driver

Datagrip连接MySQL数据遇到com.mysql.cj.exceptions.InvalidConnectionAttributeException问题

选择MySQL驱动为 com.mysql.jdbc.Driver,驱动版本为5.x.x。

Datagrip连接MySQL数据遇到com.mysql.cj.exceptions.InvalidConnectionAttributeException问题

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-04
  • 2022-12-23
  • 2021-05-09
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-12-16
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-04
  • 2021-09-30
相关资源
相似解决方案