当前位置:网站首页>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:你的密码
边栏推荐
猜你喜欢

LoRA转4G及网关中继器工作原理

深度估计自监督模型monodepth2论文总结和源码分析【理论部分】

Connection and data reading of hand-held vibrating wire vh501tc collector sensor

Coredata storage to do list

低功耗和UPF介绍

VScode配置ROS开发环境:修改代码不生效问题原因及解决方法

Principle analysis of self supervised depth estimation of fish eye image and interpretation of omnidet core code

Hyperautomation for the enhancement of automation in industries 论文翻译

CCF 201509-4 Expressway

Internal structure of SOC chip
随机推荐
Creation of adjacency matrix of undirected connected graph output breadth depth traversal
dp-851
How Android uses ADB command to view application local database
CCF 201509-4 Expressway
CCF 201509-3 模板生成系统
Introduction to low power consumption and UPF
Store to-do items locally (improve on to-do items)
Introduction to armv8 general timer
Introduction to Verdi Foundation
rospy Odometry天坑小计
SD/SDIO/EMMC
CCF 201512-3 画图
The economic basis of a hardware siege lion
Introduction to arm GIC
低功耗和UPF介绍
Temperature, humidity and light intensity acquisition based on smart cloud platform
看一个双非二本(0实习)大三学生如何拿到阿里、腾讯的offer
CCF 201503-4 网络延时
NLM5系列无线振弦传感采集仪的工作模式及休眠模式下状态
工程监测无线中继采集仪和无线网络的优势