当前位置:网站首页>Client does not support authentication protocol requested by server; consider upgrading MySQL client
Client does not support authentication protocol requested by server; consider upgrading MySQL client
2022-07-03 16:01:00 【不入开发不工作】
1. 问题描述
Client does not support authentication protocol requested by server; consider upgrading MySQL client
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
我遇到这个问题是因为mysql是8.0版本,连接驱动是5.0版本,
2. 解决方案
驱动换成8.0版本即可。
URL做修改:
jdbc:mysql://localhost/xxx?serverTimezone=GMT
边栏推荐
- WinDbg analysis dump file
- Go语言自学系列 | golang中的if else语句
- App移动端测试【3】ADB命令
- UnityShader——MaterialCapture材质捕捉效果 (翡翠斧头)
- App mobile terminal test [3] ADB command
- Pandora IOT development board learning (HAL Library) - Experiment 5 external interrupt experiment (learning notes)
- How can technology managers quickly improve leadership?
- Go language self-study series | if else statement in golang
- 软件安装信息、系统服务在注册表中的位置
- Batch files: list all files in a directory with relative paths - batch files: list all files in a directory with relative paths
猜你喜欢
Microservice API gateway zuul
From "zero sum game" to "positive sum game", PAAS triggered the third wave of cloud computing
Second kill system 3 - list of items and item details
UnityShader——MaterialCapture材质捕捉效果 (翡翠斧头)
【Proteus仿真】74HC595+74LS154驱动显示16X16点阵
Find mapping relationship
[list to map] collectors Tomap syntax sharing (case practice)
Introduction series of software reverse cracking (1) - common configurations and function windows of xdbg32/64
《微服务设计》读书笔记(下)
深度学习之三维重建
随机推荐
[combinatorics] combinatorial identities (recursive combinatorial identities | sum of variable terms | simple combinatorial identities and | sum of variable terms | staggered sums of combinatorial ide
子类隐藏父类的同名函数
2022年Q2加密市场投融资报告:GameFi成为投资关键词
pyinstaller不是内部或外部命令,也不是可运行的程序 或批处理文件
首发!!lancet饿了么官方文档
坚持输出需要不断学习
[list to map] collectors Tomap syntax sharing (case practice)
About text selection in web pages and counting the length of selected text
App移动端测试【5】文件的写入、读取
Find mapping relationship
用同花顺炒股开户安全吗?
MB10M-ASEMI整流桥MB10M
Break through 1million, sword finger 2million!
用通达信炒股开户安全吗?
Backtracking method to solve batch job scheduling problem
Detailed pointer advanced 1
Detailed explanation of four modes of distributed transaction (Seata)
Uploads labs range (with source code analysis) (under update)
Go language self-study series | if else statement in golang
近视:摘镜or配镜?这些问题必须先了解清楚