Java连接mysql数据库时报错:Caused by: javax.net.ssl.SSLHandshakeException: 
No appropriate protocol (protocol is disabled or cipher suites are inappropriate)

 

解决方案:

url=jdbc:mysql://192.168.20.11:3306/seatest?allowMultiQueries=true&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai

 

 
posted on 2025-01-15 17:11  lshan  阅读(203)  评论(0)    收藏  举报