DBeaver 連接MySql 8.0報錯 Unable to load authentication plugin 'caching_sha2_password'


DBeaver 連接MySql 報錯 Unable to load authentication plugin 'caching_sha2_password'.

 

網上查資料說的是mysql5.x 版本和 8.x版本的區別;

5.7版本是:default_authentication_plugin=mysql_native_password

8.x版本就是:default_authentication_plugin=caching_sha2_password
————————————————
版權聲明:本文為CSDN博主「奮進2019」的原創文章,遵循 CC 4.0 BY-SA 版權協議,轉載請附上原文出處鏈接及本聲明。
原文鏈接:https://blog.csdn.net/waterflying2015/article/details/81047128

 

然后查看了一下 DBeaver的默認下載驅動

 

 默認版本是 5.1.44 截止本文編寫日期 2020.3.9日

因為連接的數據庫 8.x版本的 所以 刪除原有驅動 添加新的驅動

Dbeaver 下載驅動 采用的Maven

你想要搜索具體哪個版本的信息 可以在 https://mvnrepository.com/ 地址搜索

然后搜索信息 如下 

 

 設置信息如下

 

 點擊確定  下載后 返回主頁面

 

 點擊 測試連接 報錯如下:

The server time zone value '�й���׼ʱ��' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the 'serverTimezone' configuration property) to use a more specifc time zone value if you want to utilize time zone support.

根據網上 搜索相關問題 得到是因為 服務器時區 是自動檢測所以導致的問題 然后選擇 Asia/Shanghai 能夠成功連接


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM