一、node连接mysql报错时(登录数据库的客户端跟mysql8.0不兼容,mysql8.0密码认证采用了新的密码格式): ALTER USER ‘root’@‘localhost’ IDENTIFIED WITH mysql_native_password BY ‘123333’;