MyBatis出現紅色錯誤,已解決(Establishing SSL connection without server's identity verification is not recomme)

MyBatis框架連接數據庫,控制檯總出現一行紅色錯誤 這是因爲高版本的MySQL在連接時需要配置SSL連接參數,true爲連接,false爲不連接,在jdbc的url後加上:&useSSL=false或&useSSL=true即可
相關文章
相關標籤/搜索