Skip to content
0:00 / 0:00

#jdbc#mysql#ssl

com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure

TechProgrammingIdeas

2.6K subscribers • 1 video on Hallway

YouTube
  • Recommended by 1 person: 1 on Stack Overflow and its sister sites.
  • May be out of date. The tools, versions or practices it shows have likely moved on.

Beginner. No background in the topic needed.

26K views4 years ago1 recommendation

Databases and dataProgramming languagesJava and the JVMMySQL

How to resolve the MySQL JDBC communications link failure error by configuring SSL and public key retrieval parameters.

Fix MySQL Error "Communication link failure" with JDBC and MySQL Solving a "communications link failure" with JDBC and MySQL [duplicate] Use this connection string private static String url = "jdbc:mysql://localhost:3306/BizSoft?useUnicode=yes&characterEncoding=UTF-8&useSSL=false&allowPublicKeyRetrieval=true"; add this useSSL=false&allowPublicKeyRetrieval=true stackoverflow.com/questions/6865538/solving-a-communications… Subscribe My channel to get more Updated Videos - bit.ly/35R1t3J #jdkMysql #programming #java techprogrammingideas.blogspot.com/ PSC Study Materials and Previous Question Papers mission2win.in/ Any doubts and help to type comments below

Why it's here

1 person recommends this

What people say. Recommended as a quick video guide to fixing the MySQL JDBC connection error.

LogicLab Solutionson Stack Overflow • Recommends

On “com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure”

Add this useSSL=false&allowPublicKeyRetrieval=true jdbc:mysql://localhost:3306/cloudapp?useSSL=false&allowPublicKeyRetrieval=true link to this video