首页 > 解决方案 > 用户''@'localhost'的访问被拒绝(使用密码:NO)-NodeJs/MySQL

问题描述

  1. 我打开了“Xampp”
  2. 然后我在 Xampp 中单击“Apache”开始
  3. 然后我在 Xampp 中单击“MySQL”的开始
  4. 然后我点击 Admin,在 Xampp 上按“Admin”后,浏览器中出现一个页面“MyPhpAdmin”
  5. 然后我在 VS Code for NodeJs Project 中实现这个指令“npm start”

但我得到这个错误:

  ✖ Access denied for user ''@'localhost' (using password: NO)
  [nodemon] app crashed - waiting for file changes before starting... 

我该怎么办?

标签: mysqlnode.js

解决方案


推荐阅读