com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
Searched on Google with the first line of a JAVA stack trace?
We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.
spring.datasource.driver-class-name I still get the error. This is my first time trying to setup a database, so I am likely making one or more beginners mistakes. My stack trace: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: CommunicationslinkfailureThelastpacketsentsuccessfullytotheserverwas0millisecondsago. Thedriverhasnotreceivedanypacketsfromtheserver.
Thedriverwas unable to create a connection due to a possible incompatibility between the default enabled cipher suites in this JVM and the security layer provided by theserver.
MySQL Community version 5.7.6 and above require a 2048 bit key