Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hermannkm opened this issue Jun 3, 2021 · 0 comments

Comments

@hermannkm
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant