springboot启动报错com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
一般报这个错就是springboot数据库连接配置参数的问题;以下这几项参数一定要检查没问题;后面的报错可能会出现下面这种报错;这种原因是mysql的ssl连接问题,5.6以上默认useSSL=true也就是需要证书的方式连接;Causedby:javax.net.ssl.SSLHandshakeException:java.security.cert.CertificateNotYetValid