今天突然發(fā)現idea無法正常使用database功能了,報錯:08S10?
[08S01]
Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
No appropriate protocol (protocol is disabled or cipher suites are inappropriate).
[08S01]
難道是網絡問題?登錄Navicat發(fā)現可以正常使用。
然后嘗試調整驅動版本,依然無果。
最后谷歌了好久無果,最后直接將代碼中的jdbc鏈接拷貝到URL輸入框,點擊Test 發(fā)現通了,哈哈。
應該是鏈接中某個參數的問題,可以在advance對應的tab項中修改對應的值,或者直接復制代碼能用的URL到輸入框更簡單。
Unicode=true
characterEncoding=UTF-8
allowMultiQueries=true
useSSL=false
