我正在使用Rails 4.0,每次运行迁移时都会出现以下错误:
mysqldump: Got error: 1045: Access denied for user 'regan'@'localhost' (using password: NO) when trying to connect
Could not dump the database structure. Make sure `mysqldump` is in your PATH and check the command output for warnings.
我认为迁移仍然正常工作,但是我遇到了很多失败的测试(我刚刚收到这个已构建好的项目)。
我该如何修复此错误?