当前位置:网站首页>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
边栏推荐
- Use percent sign in CString
- Persisting in output requires continuous learning
- App mobile terminal test [5] file writing and reading
- From the 18th line to the first line, the new story of the network security industry
- win32创建窗口及按钮(轻量级)
- uploads-labs靶场(附源码分析)(更新中)
- Unityshader - materialcapture material capture effect (Emerald axe)
- Win32 create window and button (lightweight)
- Microservice sentinel flow control degradation
- App移动端测试【5】文件的写入、读取
猜你喜欢

Find mapping relationship

“用Android复刻Apple产品UI”(3)—优雅的数据统计图表

CString getbuffer and releasebuffer instructions

nifi从入门到实战(保姆级教程)——flow

软件逆向破解入门系列(1)—xdbg32/64的常见配置及功能窗口

"Remake Apple product UI with Android" (2) -- silky Appstore card transition animation

突破100万,剑指200万!

uploads-labs靶场(附源码分析)(更新中)

《微服务设计》读书笔记(下)

Vs2017 is driven by IP debugging (dual machine debugging)
随机推荐
[系统安全] 四十三.Powershell恶意代码检测系列 (5)抽象语法树自动提取万字详解
互斥对象与临界区的区别
《天天数学》连载56:二月二十五日
Popular understanding of random forest
June to - -------
CString getbuffer and releasebuffer instructions
Unityshader - materialcapture material capture effect (Emerald axe)
Seckill system 2 redis solves the problem of distributed session
Pandora IOT development board learning (HAL Library) - Experiment 5 external interrupt experiment (learning notes)
Go language self-study series | if else if statement in golang
“用Android复刻Apple产品UI”(3)—优雅的数据统计图表
pyinstaller不是内部或外部命令,也不是可运行的程序 或批处理文件
Reflection on some things
Brush questions -- sword finger offer
Redis installation under windows and Linux systems
First!! Is lancet hungry? Official documents
Principles of several common IO models
Approval process design
Break through 1million, sword finger 2million!
Creation and destruction of function stack frames