Skip to content

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

@hermannkm

Description

@hermannkm

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions