alexbevi / redmine_knowledgebase

A knowledgebase plugin for Redmine
452 stars 199 forks source link

rake fails with Mysql2::Error: Access denied for user 'root'@'localhost' #397

Open hermannkm opened 3 years ago

hermannkm commented 3 years ago

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.