当前位置:网站首页>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
边栏推荐
- 2022年Q2加密市场投融资报告:GameFi成为投资关键词
- WinDbg analysis dump file
- Remote file contains actual operation
- 半监督学习
- 大csv拆分和合并
- Win32 create window and button (lightweight)
- 用通达信炒股开户安全吗?
- Nifi from introduction to practice (nanny level tutorial) - flow
- Detailed explanation of string function and string function with unlimited length
- Mb10m-asemi rectifier bridge mb10m
猜你喜欢
Secsha system 1- login function
Intelij idea efficient skills (III)
Distributed task scheduling XXL job
Redis在Windows以及Linux系统下的安装
Please be prepared to lose your job at any time within 3 years?
UnityShader——MaterialCapture材质捕捉效果 (翡翠斧头)
[系统安全] 四十三.Powershell恶意代码检测系列 (5)抽象语法树自动提取万字详解
Principles of several common IO models
Microservice - declarative interface call openfeign
【Proteus仿真】74HC595+74LS154驱动显示16X16点阵
随机推荐
请做好3年内随时失业的准备?
win32创建窗口及按钮(轻量级)
近视:摘镜or配镜?这些问题必须先了解清楚
Jmeter线程组功能介绍
一些事情的反思
Three dimensional reconstruction of deep learning
The wonderful use of do{}while()
Intelij idea efficient skills (III)
CString getbuffer and releasebuffer instructions
pyinstaller不是内部或外部命令,也不是可运行的程序 或批处理文件
Project -- high concurrency memory pool
Detailed explanation of string function and string function with unlimited length
[combinatorics] combinatorial identities (sum of variable terms 3 combinatorial identities | sum of variable terms 4 combinatorial identities | binomial theorem + derivation to prove combinatorial ide
深度学习之三维重建
工资3000,靠“视频剪辑”月入40000:会赚钱的人,从不靠拼命!
初试scikit-learn库
Under VC, Unicode and ANSI are converted to each other, cstringw and std:: string are converted to each other
VC下Unicode和ANSI互转,CStringW和std::string互转
Low level version of drawing interface (explain each step in detail)
[combinatorial mathematics] binomial theorem and combinatorial identity (binomial theorem | three combinatorial identities | recursive formula 1 | recursive formula 2 | recursive formula 3 Pascal / Ya