本文主要是介绍idea连接mysql报错: No appropriate protocol (protocol is disabled or cipher suites are inappropriate(已解决),对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
![](/upload/202202/15/202202151911422499.png)
解决方案:
在URL中添加在数据库后面添加 ?createDatabaseIfNotExist=true&useSSL=false
如:jdbc:mysql://192.168.2.2:3306/test?createDatabaseIfNotExist=true&useSSL=false
![](/upload/202202/15/202202151911424857.png)
参考:https://blog.csdn.net/ayunnuo/article/details/120269377
这篇关于idea连接mysql报错: No appropriate protocol (protocol is disabled or cipher suites are inappropriate(已解决)的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!