当前位置:网站首页>Solve the problem of unable to load authentication plugin 'caching' when idea2020 connects to MySQL 8_ sha2_ Password 'exception
Solve the problem of unable to load authentication plugin 'caching' when idea2020 connects to MySQL 8_ sha2_ Password 'exception
2022-07-16 05:15:00 【Su Wei】
solve IDEA2020 Connect MySQL8 appear unable to load authentication plugin 'caching_sha2_password’ abnormal .
- This is my abnormal error report chart :

2. This is my pom.xml file ;
It can be ruled out because pom.xml Inside mysql Connection version number and mysql Errors caused by inconsistent versions . - terms of settlement :
3.1 First, check your mysql Version number , For example, I mysql yes 8.0.19 Version of .
3.2 Check your own pom.xml In the document mysql Is the version number the same as what you downloaded MySQL The version number is the same , It doesn't have to be the same , But it must not be compared with MySQL Low original number , It's better to be consistent .

3.3 Check you out Tomcat Inside lib Inside jar package , have a look mysql-connector-java-x.x.x.jar Whether it is installed with you MySQL Whether the version of is consistent . If it is inconsistent, you can delete it , Download the corresponding version from the Internet and copy it to lib Inside ; without , Please download the corresponding version from the Internet and copy it to lib Inside . The following is the reason why I have been unsuccessful in connecting to the database , After replacement , The connection is successful .
Replace with the corresponding version :
After connecting to the database again, there is no error .
边栏推荐
- “偷师”大厂:可以参考的七种产品开发策略
- 路特软件戚俊:云原生助力SaaS类业务租户高效隔离
- Fiddler and Charles intercept and modify requests and return values
- Mindjet MindManager adding image labels
- 激活函数
- 番茄定时调光台灯触摸芯片-DLT8T10S-杰力科创
- Project management in the eyes of software testers
- Database-Trivial
- At 19:00 p.m. on Thursday, the third live broadcast of knowledge empowerment - control panel function realization of openharmony smart home project
- Dynamic programming leetcode509 Fibonacci number
猜你喜欢

ssm项目中下拉框功能的实现
![[regression prediction LSTM] LSTM implementation based on attention mechanism regression prediction of time series with matlab code](/img/a1/2da8bebde1e788f4b5326b8c0fb2dd.png)
[regression prediction LSTM] LSTM implementation based on attention mechanism regression prediction of time series with matlab code

Practice of Flink CDC in Dajian cloud warehouse

微服务模式:Sidecar

How to deal with the five obstacles of teamwork

边缘计算 KubeEdge+EdgeMash

PyTorch - 存储和加载模型
![[number recognition] handwritten number recognition based on knowledge base with matlab code](/img/06/6adab955a339f453249543baab1dc6.png)
[number recognition] handwritten number recognition based on knowledge base with matlab code

Design and implementation of an eight bit compensator based on logisim

看看谷歌如何在目标检测任务使用预训练权值 | CVPR 2022
随机推荐
[interview: concurrent Article 12: multithreading: thread eight locks]
[number recognition] handwritten number recognition based on knowledge base with matlab code
看看谷歌如何在目标检测任务使用预训练权值 | CVPR 2022
PyTorch - 存储和加载模型
Flink CDC + oceanbase full incremental integrated data integration scheme
Explain the exercises in Chapter 3 of C language
Qucs初步使用指南(不是multism)
Aunt Qian's real-time risk control practice based on Flink
ssm项目中下拉框功能的实现
自适应批作业调度器:为 Flink 批作业自动推导并行度
如何編寫有效的接口測試?
【探究为什么String类是不可变类型:String类仿写】
PV操作程序题
C language foundation: n chess
How to deal with the five obstacles of teamwork
【面试:并发篇12:多线程:线程八锁】
Mysql-MVCC
Some interview questions encountered recently -- WPF, C #, database
美团基于 Flink 的实时数仓平台建设新进展
图像分割方法