node连接mysql数据库报错Client does not support authentication protocol requested by server 解决方法如下图: //本人用的workbench use mysql; alter user 'root'@'localhost' identified with mysql_native_password by '你的密码'; flush privileges; 再次执行node代码,可以连接mysql数据库了