IDEA中使用JDBC连接MySQL数据库报错:No appropriate protocol (protocol is disabled or cipher suites are inappropriate) 的解决方法
在IDEA中使用JDBC连接MySQL,程序运行之后报错:

定位到第16行:

根据上面报错提示,在url参数字段最前面添加参数 useSSL=false :

再次运行程序,成功连接到数据库!
在IDEA中使用JDBC连接MySQL,程序运行之后报错:

定位到第16行:

根据上面报错提示,在url参数字段最前面添加参数 useSSL=false :

再次运行程序,成功连接到数据库!