问题 使用node的mysql模块打开本地mysql的时候报错: Error: ER_ACCESS_DENIED_ERROR: Access denied for user ‘root’@‘localhost’ (using password: YES) 解决方式: 在mysql文件夹中配置my.ini文件 在[mysqld]下面添加skip-grant-tables 重启mysql后连接成功!