pycharm中database连接MySQL数据库时出现如下提示:

[08001] Could not create connection to database server. Attempted reconnect 3 times. Giving up.

图示:

造成这个问题的原因是因为数据库驱动包的版本问题,与当前的数据库版本不兼容:我的是mysql5.0版本,而驱动是8.0的版本:

解决办法:替换数据库驱动包的版本,如图所以选择对应的Driver版本


点下载即可:

正在下载:

下载失败,再试一次:

下载成功,测试连接:

成功连接!

[08001] Could not create connection to database server. Attempted reconnect 3 times. Giving up.解决办法相关推荐

  1. [08001] Could not create connection to database server. Attempted reconnect 3 times.

    现象描述: 在JetBrains的系列产品中,database连接MySQL数据库时,如Idea.DataGrip.GoLand.Pycharm 等等,连接MySQL数据库时会出现如下提示: 连接失败 ...

  2. 08001] Could not create connection to database server. Attempted reconnect 3 times.

    现象描述: 在JetBrains的系列产品中,database连接MySQL数据库时,如Idea.DataGrip.GoLand.Pycharm 等等,连接MySQL数据库时会出现如下提示: 连接失败 ...

  3. nacos连接mysql出现:Could not create connection to database server. Attempted reconnect 3 times. Giving u

    nacos连接mysql出错 今天在学习nacos的时候,在从nacos内嵌数据derby切换到mysql的时候,出现一个错误,特意记一下. org.springframework.jdbc.Cann ...

  4. 数据库连接失败: Could not create connection to database server. Attempted reconnect 3 times. Giving up.

    数据库连接失败信息摘要: ERROR-com.alibaba.druid.pool.DruidDataSource init:927: init datasource error,url: jdbc: ...

  5. 【Nacos】Nacos MySQL 配置 启动报错 ould not create connection to database server. Attempted reconnect 3 time

    文章目录 1.概述 2. 解决方案1-未解决 3. 解决方案2-未解决 4. 解决方案3-未解决 5. 解决方案4-未解决 6. 解决方案6-未解决 7. 解决方案7-解决 1.概述 在章节:[Spr ...

  6. Connection to @localhost failed. [08001] Could not create connection to database server. Attempt

    Connection to @localhost failed. [08001] Could not create connection to database server. Attempt 当我们 ...

  7. JAVA.SQL.SQLNONTRANSIENTCONNECTIONEXCEPTION: COULD NOT CREATE CONNECTION TO DATABASE SERVER. ATTEMPT

    错误信息 java.sql.SQLNonTransientConnectionException: Could not create connection to database server. At ...

  8. could not create connection to database server.] with root cause

    场景 SpringBoot项目运行后提示: 详细提示如下: ### Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: ...

  9. JAVA——[MySQLNonTransientConnectionException:Could not create connection to database server.]解决方案

    问题描述 com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connecti ...

最新文章

  1. Zygote启动分析
  2. AJAX 在Django 设置csrf_token
  3. Android开发之Mac配置环境变量
  4. g5420 win7集显驱动_台式机装WIN7?雷我已经趟完了
  5. 数学家探索两个几何世界之间的镜像链接
  6. 谷歌浏览器调用本地exe_无需修改前端和后端代码本地跨域开发设置
  7. php 获取网页内容 四种方法
  8. (35)FPGA面试技能提升篇(AD、DA、时钟芯片)
  9. 深度学习自学(三十):基于深度学习误排序学习的行人重识别对抗攻击
  10. 拓端tecdat|SAS分类决策树预测贷款申请评分剪枝和结果可视化
  11. 如何用代码表白——matlab绘制玫瑰、爱心和I LOVE YOU
  12. ic启动器怎么导入模组_icmod模组管理器最新版下载-ICMOD管理器(Inner Core)下载v1.5-阵 安卓版-西西软件下载...
  13. c语言sqart函数格式,2019-07-29 复习C语言入门知识
  14. android 实现表格横向混动_凌派锐·混动:技术赋能下的越级表现
  15. 您已购买此 App 内购买项目。此项目将免费恢复。This In-App purchase has already been bought.It will be restored for free.
  16. 润乾报表的数据源配置
  17. java ice开发_ice开发流程(一)
  18. php7如何加入环境变量
  19. 网络路由器查表过程模拟
  20. 最长黑白相间连续串(有规律)

热门文章

  1. 【Laravel】使用 Laravel Excel 实现 Excel/CSV 文件导入导出功能
  2. 设计模式(十)外观模式
  3. mysql集群环境搭建
  4. 建立域用户时遇到的问题。
  5. 【解决方案】kafka: client has run out of available brokers to talk to (Is your cluster reachable?)
  6. c++学习---继承与派生类
  7. es6 混合commjs_前端模块化——CommonJS、ES6规范
  8. 微型计算机是一种将CPU,Bwnhlq计算机一级考试选择题题库之微型计算机基础题及答案(XX年最新版)1.doc...
  9. 使用Lambda解决_inbound_nodes错误
  10. SpringCloud-路由网关(Zuul)