DBeaver連接MySQL 8.0顯示"Unable to load authentication plugin 'caching_sha2_password'."錯誤的問題


下載MySQL綠色版本mysql-8.0.12-winx64,手動安裝完成后。使用DBeaver連接提示"Unable to load authentication plugin 'caching_sha2_password'."。網上查閱資料發現My SQL 8.0.4開始默認使用新的認證插件"caching_sha2_password",而DBeaver還在使用原來的"mysql_native_password"插件。於是修改my.ini文件,設置默認使用mysql_native_password:

[mysqld]
default_authentication_plugin=mysql_native_password

 

參考資料:

https://stackoverflow.com/questions/49194719/authentication-plugin-caching-sha2-password-cannot-be-loaded


免責聲明!

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



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