idea连接mysql报错: No appropriate protocol (protocol is disabled or cipher suites are inappropriate(已解决)

 

 

 

解决方案:
在URL中添加在数据库后面添加 ?createDatabaseIfNotExist=true&useSSL=false

如:jdbc:mysql://192.168.2.2:3306/test?createDatabaseIfNotExist=true&useSSL=false

 

 

参考:https://blog.csdn.net/ayunnuo/article/details/120269377

 

posted @ 2022-02-15 16:51  [浪子回头]  阅读(939)  评论(0编辑  收藏  举报