alexbevi / redmine_knowledgebase

A knowledgebase plugin for Redmine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

hermannkm opened this issue · comments

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.