当前位置:网站首页>Error: ER_ NOT_ SUPPORTED_ AUTH_ MODE: Client does not support authentication protocol requested by serv
Error: ER_ NOT_ SUPPORTED_ AUTH_ MODE: Client does not support authentication protocol requested by serv
2022-04-22 05:04:00 【畱䶒】
1、 Cause of error
Use vscode Connecting the machine mysql When , Reported the mistake .
Error: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client
2、 The reason for the error
Find information about the night , It's about the current database connection node-mysql The module does not comply with the new rules , So this error will be reported , Then we only need to modify the old module to solve the problem .
3、 Problem solving
3.1 Use the terminal to enter the database
First, use your terminal program to enter the database , And enter the password of your database .
mysql -uroot -p
3.2 Choose to use mysql library
use mysql;
3.3 lookup user In the table user and host Field
select user,host from user;

3.4 Modify the specified user
root Is the user name ,localhost It's the host address , hinder 12345678 It's a password
alter user ‘root’@‘localhost’ identified with mysql_native_password by ‘12345678’;
4、 Complete the modification , Successfully connected

版权声明
本文为[畱䶒]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204210711185446.html
边栏推荐
- Prometheus basic knowledge brain map
- JVM throughput
- Wos opens the way, and Weimeng makes a new way for SaaS in China
- [Reading Notes - > statistics] 07-03 introduction to the concept of discrete probability distribution Poisson distribution
- On the unsuccessful creation of SQLite database in Android development real machine debugging
- Spark starter: wordcount
- Final Cut Pro mosaics in multiple places of the video at the same time
- RestFul风格的API设计
- 【Pytorch】Tensor. Use and understanding of continguous()
- Chapter VIII affairs
猜你喜欢
Not sure whether it is a bug or a setting

Iris species prediction -- Introduction to data set

JS Chapter 12

MySQL encoding problem
![C language simple [stack and queue] (bracket matching problem)](/img/3d/092daf5d4896aabaf12d34497fe643.png)
C language simple [stack and queue] (bracket matching problem)

JVM - common parameters
![[stack and queue] simple application of C language ⌊ stack and queue realize each other, circular queue ⌉](/img/ac/d0d76fd109a53da73c624631f90c00.png)
[stack and queue] simple application of C language ⌊ stack and queue realize each other, circular queue ⌉
![[chestnut sugar GIS] ArcMap - how to combine multiple images into one](/img/b4/fb1ceaf4cbb040ae0fc1d0ffbc46f9.png)
[chestnut sugar GIS] ArcMap - how to combine multiple images into one

JVM——》CMS

Sharing of enterprise data leakage prevention scheme
随机推荐
Spark 入門程序 : WordCount
Transaction isolation level and mvcc
Learn from me: how to release your own plugin or package in China
Application of an open current transformer with switching value
How the CPU calls the process
【Pytorch】Tensor. Use and understanding of continguous()
[I. XXX pest detection project] 2. Trying to improve the network structure: resnet50, Se, CBAM, feature fusion
Download of resource accp-s1 boot3 development tool
Chapter IX user and authority
style/TextAppearance. Compat. Notification. Info) not found.
Prediction of KNN Iris species after normalization and standardization
mysql rank() over,dense_ rank() over,row_ The difference between number () and over
Les racines et le contexte de Carina
Introduction to swagger UI
Carina 的根基與誕生背景|深入了解 Carina 系列 第一期
Inotify Brief
Autojs cannot connect to the computer, prompting that the connection failed and the permission is insufficient
How to initiate mqtt 100 million connection and 10 million message throughput performance test
Autojs automation script how to develop on the computer, detailed reliable tutorial!!!
On the unsuccessful creation of SQLite database in Android development real machine debugging

