MyBatis出现红色错误,已解决(Establishing SSL connection without server's identity verification is not recomme)

MyBatis框架连接数据库,控制台总出现一行红色错误 这是因为高版本的MySQL在连接时需要配置SSL连接参数,true为连接,false为不连接,在jdbc的url后加上:&useSSL=false或&useSSL=true即可
相关文章
相关标签/搜索