初次使用DataGrip,初次创建连接出现如下错误:

Connection to sqltest failed. [08001] Could not create connection to databas

官方已给出一些解决方案:点击跳转
本人犯错的原因是MySQL的版本(5.7)与Driver的版本(8.1)不兼容。
DataGrip :Cannot connect to a database
视图自行修改Driver的版本。File-》data sources->操作如图所示:
DataGrip :Cannot connect to a database

其他配置要保证正确,账号密码,数据库名是否存在等。

相关文章:

  • 2022-03-05
  • 2021-06-05
  • 2021-08-19
  • 2021-04-14
  • 2021-07-22
  • 2021-05-19
  • 2022-01-03
  • 2022-12-23
猜你喜欢
  • 2021-09-13
  • 2022-12-23
  • 2021-10-22
  • 2021-06-17
  • 2022-12-23
  • 2021-06-30
  • 2022-12-23
相关资源
相似解决方案