通过ide连接数据库或者 启动java项目的时候数据库连接不上报错

[08S01] Communications link failure

The last packet sent successfully to the server was 0 millisec

但是通过其他软件或者终端直连数据库是没有问题的,此时问题并不在权限或者用户名密码上,需要在

jdbcurl里面增加一个?useSSL=false

具体原因没探究,但是管用。

留作记录

答案来源连接

感谢大佬狮子梦人

[08S01] Communications link failure报错解决相关推荐

  1. IDEA连接MySQL失败-[08S01] Communications link failure

    一.问题现状描述 使用IDEA启动maven项目,报错连接MySQL数据库失败,尝试用IDEA的database插件,连接本地MySQL库(Windows10本机搭建) 报错结果如下: [08S01] ...

  2. 【数据库问题】[08S01] Communications link failure

    [08S01] Communications link failure The last packet sent successfully to the server was 0 millisecon ...

  3. 08s01 mysql_Mysql:SQL 错误 [08S01]: Communications link failure

    1.使用软件DBeaver,连接MySQL 2.表建立在本地数据库中,数据库大小如下 1月20号,在对里面的数据进行清洗以后,1月22晚上对表进行操作,就会出现下面的错误 Communications ...

  4. 使用DataGrip连接阿里云数据库报[08S01] Communications link failure错误。

    结果在添加数据库url时将?characterEncoding=utf8&useSSL=false&serverTimezone=UTC加上就ok了.

  5. 连接数据库报错com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure的解决方法

    控制台报错 Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications link failure com. ...

  6. Cause com.mysql.jdbc.exceptions.jdbc4.CommunicationsException:Communications link failure 问题解决 报错

    Cause: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure 问题解决 Cau ...

  7. Druid 连接池 报错 com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure

    场景赘述 早晨查看项目前一天的实际运行日志,发现了 一个Springboot项目中的druid 连接池和 mysql 产生了异常信息,重连暂并未对系统产生影响 下面是具体报错信息: com.mysql ...

  8. com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure 数据库报错

    -- 查询mysql 数据库链接空闲时间持有最大空闲时间,单位为秒 SHOW VARIABLES WHERE VAriable_name = 'interactive_timeout'; -- 会出现 ...

  9. mybatis-generator运行报错Communications link failure

    原因分析:mysql使用了8.0以上的版本. 搜索得到的结果: 第一种方法,在jdbcURL上加上了 ?characterEncoding=utf8&useSSL=false&serv ...

最新文章

  1. pandas官方文档_电影数据轻松学习 Pandas
  2. Ubuntu Docker安装
  3. VTK:Matlab之MatlabEngineFilter
  4. alt+x+b没反应_Alt键的这几种用法,你一定要知道
  5. Quick Sort(三向切分的快速排序)(Java)
  6. Ceph 常见错误 及设置
  7. 如何终止运行matlab,matlab终止运行命令
  8. LCN(使用springCloud)分布式事物原理
  9. 【思想感悟】站在巨人的肩膀上
  10. Visual studio之C#的一些常见问题
  11. JS中可以表示数字的最大值
  12. 基础30讲 第九讲 一元函数积分学的几何应用
  13. pytorch基于GAN生成对抗网络的数据集扩充
  14. R8-1 中序和后序创建二叉树
  15. python创意turtle作品大白-Python turtle 画个大白
  16. 滑块验证位移识别/识别率95%+
  17. 车联网---V2X介绍、V2X现有的两大通信标准DSRC和LTE V2X
  18. xampp php网站,xampp部署php网站
  19. tplink WR740N v4 WR941N v6 安装openwrt
  20. 数据挖掘学习笔记:标称属性(名词性)的邻近性度量

热门文章

  1. 服务器上线运行正常但不能上网,网线是好的,插笔记本正常上网,插在服务器上却不能上网的解决方法...
  2. 安装与配置VMware虚拟机 https://www.vmware.com/cn/products/workstation-pro/workstation-pro-evaluation.html
  3. Wireshark之流量包分析+日志分析 (护网:蓝队)web安全 取证 分析黑客攻击流程(上篇)
  4. C#各语言版本特性介绍
  5. cairo填充_Cairo学习笔记
  6. 云计算场景下,如何快速定位出虚拟机reboot/shutdown引发的故障
  7. Shell 小脚本集合
  8. 自由浏览器 android,Safari、Android Browser合占移动浏览器半壁江山
  9. 如何用python整理表格_Python 自动整理 Excel 表格
  10. Shiro的简单入门(一)