ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client
node 连接数据库时报的错误。
mysql8.0以上加密方式,Node还不支持。
mysql> alter user 'root'@'localhost' identified with mysql_native_password by '1234';
mysql> flush privileges;