node连接报错 Error: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; 原因 mysql8之前是mysql_native_password,mysql8.0更改了密码默认的认证插件为Caching_sha2_password USE user; ALTER user'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'your password';