【发布时间】:2017-10-30 04:13:27
【问题描述】:
我使用的是 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.
我认为迁移仍然可以正常工作,但是我遇到了很多失败的测试(我刚刚收到了这个已经构建的项目)。
如何解决这个错误?
【问题讨论】:
标签: mysql ruby-on-rails ruby-on-rails-4 migration