赞
踩
报了多个异常,没给原因,就是提示jdbc连接不上
Exception during pool initialization.
com.mysql.cj.jdbc.exceptions.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.
Caused by: javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)
Error querying database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection;
解决方案:
在url携带参数后面添加:createDatabaseIfNotExist=true&useSSL=false
原理暂时不懂,待更新
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。