当前位置:网站首页>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
- 【Proteus仿真】74HC595+74LS154驱动显示16X16点阵
- 用同花顺炒股开户安全吗?
- 软件安装信息、系统服务在注册表中的位置
- CString在多线程中的问题
- From the 18th line to the first line, the new story of the network security industry
- 找映射关系
- Salary 3000, monthly income 40000 by "video editing": people who can make money never rely on hard work!
- A Fei's expectation
- 软件逆向破解入门系列(1)—xdbg32/64的常见配置及功能窗口
猜你喜欢

Mb10m-asemi rectifier bridge mb10m

使用AUR下载并安装常用程序

Microservice - fuse hystrix

CString的GetBuffer和ReleaseBuffer使用说明

Srs4.0+obs studio+vlc3 (environment construction and basic use demonstration)

Second kill system 3 - list of items and item details

远程文件包含实操

VS2017通过IP调试驱动(双机调试)

QT use qzxing to generate QR code

Shell script import and export data
随机推荐
pycharm错Error updating package list: connect timed out
CString的GetBuffer和ReleaseBuffer使用说明
[combinatorics] combinatorial identities (recursive combinatorial identities | sum of variable terms | simple combinatorial identities and | sum of variable terms | staggered sums of combinatorial ide
How are integer and floating-point types stored in memory
WinDbg分析dump文件
Nine ways to define methods in scala- Nine ways to define a method in Scala?
Seckill system 2 redis solves the problem of distributed session
How to use AAB to APK and APK to AAB of Google play apps on the shelves
Get the executable path through the process PID (queryfullprocessimagename)
Custom annotation
Location of software installation information and system services in the registry
[proteus simulation] 8 × 8LED dot matrix screen imitates elevator digital scrolling display
Detailed pointer advanced 2
uploads-labs靶场(附源码分析)(更新中)
Create gradle project
June to - -------
MongoDB 的安装和基本操作
Vs2017 is driven by IP debugging (dual machine debugging)
使用AUR下载并安装常用程序
初试scikit-learn库