原文:Unable to load authentication plugin 'caching_sha2_password'.错误

今天整合SSM时,在创建连接时一直报错 Unable to load authentication plugin caching sha password . 研究了很久发现是因为MySQL的版本问题 我目前用的MySQL . . ,据网上所说, .x版本和 .x的区别如下: .X版本是:default authentication plugin mysql native password .x版 ...

2019-08-30 01:17 1 8063 推荐指数:

查看详情

Eclipse-Unable to load authentication plugin 'caching_sha2_password'

出错原因: mysql 8.0 默认使用 caching_sha2_password 身份验证机制,而之前的版本默认使用 mysql_native_password 身份验证机制 解决办法: 修改加密规则 :ALTER USER 'root'@'localhost' IDENTIFIED ...

Mon Mar 11 16:14:00 CST 2019 0 1755
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM