2023-07-06
1、问题描述
测试mybatis-plus代码功能的时候出现Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications link failure问题
2、问题解决
通过查阅,发现,这个是数据库连接的问题。打开navicat连接数据库,发现连接不上。因此需要看数据库服务是否开启。
3、解决方式
打开服务,找到“MySQL”,右击“启动”,将服务启动之后,再进行连接就OK了。
- CJCommunicationsException Communications exceptions failure Causedcjcommunicationsexception communications exceptions communicationsexception communications exceptions communications failure mysql link sslv3_alert_handshake_failure exceptions handshake cjcommunicationsexception communications caused mysql communicationsexception jdbc communications malformedinputexception charset caused length communications milliseconds successfully received