当前位置:网站首页>nodejs链接mysql报错:ER_NOT_SUPPORTED_AUTH_MODEError: ER_NOT_SUPPORTED_AUTH_MODE
nodejs链接mysql报错:ER_NOT_SUPPORTED_AUTH_MODEError: ER_NOT_SUPPORTED_AUTH_MODE
2022-07-25 09:24:00 【|刘钊|】
nodejs.ER_NOT_SUPPORTED_AUTH_MODEError: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client解决办法:
打开mac的偏好设置:



然后再启动:

到此就好了
二、还可以使用终端命令:
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '111111'root:数据库名
111111:你的密码
边栏推荐
猜你喜欢

NLM5系列无线振弦传感采集仪的工作模式及休眠模式下状态

Introduction to armv8 architecture

FPGA basic advanced

Swift simple implementation of to-do list

CDA LEVELⅠ2021新版模拟题一(附答案)
![[Android studio] batch data import to Android local database](/img/fc/758df0ba1c4c5b4f0eb8ccbcb4952c.png)
[Android studio] batch data import to Android local database

Internal structure of SOC chip

Segmentation based deep learning approach for surface defect detection

Swift creates weather app

低功耗和UPF介绍
随机推荐
看一个双非二本(0实习)大三学生如何拿到阿里、腾讯的offer
OC -- Inheritance and polymorphic and pointer
入住阿里云MQTT物联网平台
CCF 201509-2 date calculation
Segmentation based deep learning approach for surface defect detection
CCF 201604-2 俄罗斯方块
数字IC设计SOC入门进阶
How Android uses ADB command to view application local database
Camera attitude estimation
File -- first acquaintance
低功耗和UPF介绍
ARMV8体系结构简介
First knowledge of opencv4.x --- image histogram equalization
Solve the Chinese garbled code error of qtcreator compiling with vs
@5-1 CCF 2019-12-1 reporting
Store to-do items locally (improve on to-do items)
testbench简介
CCF 201503-4 network delay
CCF 201512-3 drawing
VS无线振弦采集仪蓝牙功能的使用