当前位置:网站首页>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
边栏推荐
- C language brush questions ~leetcode and simple questions of niuke.com
- Jmeter线程组功能介绍
- App mobile terminal test [4] APK operation
- Create gradle project
- 突破100万,剑指200万!
- do{}while()的妙用
- Microservice - fuse hystrix
- 利用MySQL中的乐观锁和悲观锁实现分布式锁
- Automatic generation of client code from flask server code -- Introduction to flask native stubs Library
- Calibre LVL
猜你喜欢

Semi supervised learning

Redis installation under windows and Linux systems

近视:摘镜or配镜?这些问题必须先了解清楚

Detailed pointer advanced 1

WinDbg analysis dump file

Seckill system 2 redis solves the problem of distributed session

Salary 3000, monthly income 40000 by "video editing": people who can make money never rely on hard work!
![[system safety] 43 PowerShell malicious code detection series (5) automatic extraction of ten thousand words from abstract syntax tree](/img/cd/00954b9c592c253d42e6a3b8298999.jpg)
[system safety] 43 PowerShell malicious code detection series (5) automatic extraction of ten thousand words from abstract syntax tree

The accept attribute of the El upload upload component restricts the file type (detailed explanation of the case)

MongoDB 的安装和基本操作
随机推荐
MongoDB 的安装和基本操作
[combinatorics] combinatorial identity (sum of variable upper terms 1 combinatorial identity | summary of three combinatorial identity proof methods | proof of sum of variable upper terms 1 combinator
几种常见IO模型的原理
2022年Q2加密市场投融资报告:GameFi成为投资关键词
Go语言自学系列 | golang switch语句
Redis high availability and persistence
Unity function - unity offline document download and use
"Remake Apple product UI with Android" (3) - elegant statistical chart
【Proteus仿真】74HC595+74LS154驱动显示16X16点阵
分布式事务(Seata) 四大模式详解
Large CSV split and merge
Go language self-study series | if else if statement in golang
How can technology managers quickly improve leadership?
ASEMI整流桥UMB10F参数,UMB10F规格,UMB10F封装
[proteus simulation] 8 × 8LED dot matrix screen imitates elevator digital scrolling display
半监督学习
《微服务设计》读书笔记(上)
The wonderful use of do{}while()
通过进程PID获取可执行文件路径(QueryFullProcessImageName)
Microservices Seata distributed transactions