原文:连接mysql出现“Unable to load authentication plugin 'caching_sha2_password”错误

这是mysql . 版本才出现的问题,原因是mysql . 默认使用 caching sha password 身份验证机制 从原来的 mysql native password 更改为 caching sha password。 解决办法: 可以更换版本但是感觉治标不治本,建议修改身份验证机制 登陆mysql 在mysql的bin目录下打开cmd 默认是C: Program Files MySQ ...

2020-07-27 19:38 1 6064 推荐指数:

查看详情

Unable to load authentication plugin 'caching_sha2_password'.错误

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

Fri Aug 30 09:17:00 CST 2019 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