随笔 - 836  文章 - 1 评论 - 40 阅读 - 102万
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

 

 

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   lshan  阅读(69)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· Manus的开源复刻OpenManus初探
· AI 智能体引爆开源社区「GitHub 热点速览」
· 三行代码完成国际化适配,妙~啊~
· .NET Core 中如何实现缓存的预热?
历史上的今天:
2020-01-15 time 集群一起修改时间
2020-01-15 xcall.sh
2020-01-15 hive 的几款可视化连接工具
2019-01-15 redistemplate优雅地操作redis redis 工具类
2019-01-15 spring boot2.x 整合redis 使用redis 做默认缓存
2019-01-15 springboot 整合 redis 共享Session-spring-session-data-redis redis 做默认缓存 @Cacheable
2019-01-15 redis admin 安装 redisdesktop
点击右上角即可分享
微信分享提示