当前位置:网站首页>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
边栏推荐
- Introduction series of software reverse cracking (1) - common configurations and function windows of xdbg32/64
- Reflection on some things
- C language brush questions ~leetcode and simple questions of niuke.com
- How to use AAB to APK and APK to AAB of Google play apps on the shelves
- Automatic generation of client code from flask server code -- Introduction to flask native stubs Library
- 初试scikit-learn库
- uploads-labs靶场(附源码分析)(更新中)
- Go语言自学系列 | golang中的if else if语句
- 嵌入式开发:避免开源软件的7个理由
- 找映射关系
猜你喜欢
![[list to map] collectors Tomap syntax sharing (case practice)](/img/ac/e02deb1cb237806d357a88fb812852.jpg)
[list to map] collectors Tomap syntax sharing (case practice)

Function introduction of JMeter thread group

UnityShader——MaterialCapture材质捕捉效果 (翡翠斧头)

ASEMI整流桥UMB10F参数,UMB10F规格,UMB10F封装

Nifi from introduction to practice (nanny level tutorial) - flow

Semi supervised learning

Brush questions -- sword finger offer

Automatic generation of client code from flask server code -- Introduction to flask native stubs Library

Create gradle project

How to use AAB to APK and APK to AAB of Google play apps on the shelves
随机推荐
Popular understanding of random forest
pyinstaller不是内部或外部命令,也不是可运行的程序 或批处理文件
The accept attribute of the El upload upload component restricts the file type (detailed explanation of the case)
Backtracking method to solve batch job scheduling problem
Wechat payment -jsapi: code implementation (payment asynchronous callback, Chinese parameter solution)
Uploads labs range (with source code analysis) (under update)
Go language self-study series | if else if statement in golang
[combinatorics] combinatorial identities (sum of variable terms 3 combinatorial identities | sum of variable terms 4 combinatorial identities | binomial theorem + derivation to prove combinatorial ide
Pychart error updating package list: connect timed out
Detailed explanation of string function and string function with unlimited length
Three dimensional reconstruction of deep learning
Go语言自学系列 | golang中的if else if语句
通过进程PID获取可执行文件路径(QueryFullProcessImageName)
软件逆向破解入门系列(1)—xdbg32/64的常见配置及功能窗口
Microservice API gateway zuul
近视:摘镜or配镜?这些问题必须先了解清楚
Microservices Seata distributed transactions
"Remake Apple product UI with Android" (2) -- silky Appstore card transition animation
Rk3399 platform development series explanation (WiFi) 5.54. What is WiFi wireless LAN
Reflection on some things