idea自帶database連接mysql失敗問題的解決辦法
idea2023.1版連接mysql失敗
DBMS: MySQL (ver. 5.7.13)
Case sensitivity: plain=exact, delimited=exact
Driver: MySQL Connector Java (ver. mysql-connector-java-5.1.47 ( Revision: fe1903b1ecb4a96a917f7ed3190d80c049b1de29 ), JDBC4.0)
[08S01]
Communications link failureThe last packet successfully received from the server was 95 milliseconds ago. The last packet sent successfully to the server was 89 milliseconds ago.
No appropriate protocol (protocol is disabled or cipher suites are inappropriate).
使用如下:

填寫正確的IP,端口,賬號,密碼
test connection 報如下錯誤
DBMS: MySQL (ver. 5.7.13)
Case sensitivity: plain=exact, delimited=exact
Driver: MySQL Connector Java (ver. mysql-connector-java-5.1.47 ( Revision: fe1903b1ecb4a96a917f7ed3190d80c049b1de29 ), JDBC4.0)
[08S01]
Communications link failureThe last packet successfully received from the server was 95 milliseconds ago. The last packet sent successfully to the server was 89 milliseconds ago.
No appropriate protocol (protocol is disabled or cipher suites are inappropriate).
解決方案:
1.url路徑中 加入 useSSL=no或者useSSL=false

2.在advanced中下拉選中useSSl為no

3.驅動中的advanced中的useSSL設置為非true

完美解決
總結
到此這篇關于idea自帶database連接mysql失敗問題的解決辦法的文章就介紹到這了,更多相關idea連接mysql失敗內容請搜索腳本之家以前的文章或繼續(xù)瀏覽下面的相關文章希望大家以后多多支持腳本之家!
- 在idea中如何操作MySQL數(shù)據(jù)庫
- idea連接mysql數(shù)據(jù)庫失敗的幾種解決方案
- idea中使用mysql的保姆級教程(超詳細)
- IDEA連接MySQL數(shù)據(jù)庫并執(zhí)行SQL語句使用數(shù)據(jù)圖文詳解
- IDEA創(chuàng)建SpringBoot項目整合mybatis時mysql-connector-java報錯異常的詳細分析
- IDEA使用JDBC導入配置jar包連接MySQL數(shù)據(jù)庫
- IDEA使用JDBC安裝配置jar包連接MySQL數(shù)據(jù)庫
- 使用Idea連接MySQL的詳細步驟總結
- 教你使用idea連接服務器mysql的步驟
相關文章
攜程Apollo(阿波羅)安裝部署以及java整合實現(xiàn)
這篇文章主要介紹了攜程Apollo(阿波羅)安裝部署以及java整合實現(xiàn),文中通過示例代碼介紹的非常詳細,對大家的學習或者工作具有一定的參考學習價值,需要的朋友們下面隨著小編來一起學習學習吧2019-08-08
Java?String源碼contains題解重復疊加字符串匹配
這篇文章主要為大家介紹了Java?String源碼contains題解重復疊加字符串匹配示例詳解,有需要的朋友可以借鑒參考下,希望能夠有所幫助,祝大家多多進步,早日升職加薪2022-11-11

