Node.js 连接Mysql 8.0
一、因为mysql 8之前的版本中加密规则是mysql_native_password,而在之后版本,加密规则是caching_sha2_password,node不支持mysql 8,连接时会报如下错误Error: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client需要修改mysql的加..
原创
2022-05-13 16:36:24 ·
4202 阅读 ·
0 评论