rake fails with Mysql2::Error: Access denied for user 'root'@'localhost'
hermannkm opened this issue · comments
hermannkm commented
I solved this by adding the environment parameter to the rake command, this is
rake redmine:plugins:migrate NAME=redmine_knowledgebase RAILS_ENV=production
as for this env I have working parameters in my config.database.yml.
Don't know if this is a correct solution.