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

MySQL database access denied #128

Closed
xeruf opened this issue Mar 9, 2022 · 2 comments
Closed

MySQL database access denied #128

xeruf opened this issue Mar 9, 2022 · 2 comments

Comments

@xeruf
Copy link

xeruf commented Mar 9, 2022

After having no success with postgres I now tried mysql, but despite MYSQL_USER and PASSWORD being the same as the DB values for koel in docker-compose.mysql.yml, koel is unable to access the mysql database in the container:

SQLSTATE[HY000] [1045] Access denied for user 'koel'@'172.19.0.3' (using password: YES)

I have recreated the containers multiple times, and have no idea how to debug this...

@xeruf
Copy link
Author

xeruf commented Mar 9, 2022

Solved, I did not recreate the containers fully as their volumes were kept...
https://stackoverflow.com/a/59839180/6723250

@xeruf xeruf closed this as completed Mar 9, 2022
@Hyzual
Copy link
Collaborator

Hyzual commented Mar 10, 2022

Hi @xeruf glad you found out the solution, thanks for posting it back here :)
Indeed volumes will keep the database configuration including users and passwords.

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

2 participants