MyBatis框架连接数据库,控制台总出现一行红色错误
这是因为高版本的MySQL在连接时需要配置SSL连接参数,true为连接,false为不连接,在jdbc的url后加上:&useSSL=false或&useSSL=true即可
MyBatis出现红色错误,已解决(Establishing SSL connection without server's identity verification is not recomme)
猜你喜欢
转载自blog.csdn.net/weixin_43873198/article/details/105612823
今日推荐
周排行