Closed adrianbn closed 2 days ago
I have the same issue, but switching the MariaDB version down to 10 does not solve it for me unfortunately.
Thank you for your bug report. That's kinda odd, I'll look into this issue.
@pflavio what does your docker log show?
@pflavio what does your docker log show?
Hi @danielbrendel I just one of these after the other 2024-05-12 9:36:11 15439 [Warning] Access denied for user 'user'@'172.20.0.3' (using password: YES)
. 172.20.0.3 is the internal Docker IP of the hortusfox-web-app container. I even tried setting everything to the default values from the example docker-compose to rule out breaking any rules for length or special characters in passwords.
I tried to check this in my environment, but I don't have any troubles using mariadb 11.
This is the version I was checking: 11.3.2-MariaDB-1:11.3.2+maria~ubu2204
I checked both creating from scratch or updating existing containers and both worked fine.
Does the problem still persist?
Closed due to inactivity / non-reproducible.
Describe the bug I was having issues getting the docker compose to work due to authentication errors. The web service would never become available because it would fail to auth to the mariadb container. The mariadb container would show the following error:
I found this comment in another issue https://github.com/danielbrendel/hortusfox-web/issues/101#issuecomment-1927290177 and decided to change the mariadb version from latest (currently 11) to 10 and that solved the issue.
To Reproduce This is the dockerfile I am using, just a slight modification from the one on the repo. This works as long as the mariadb image is pointed to version 10 (as in the example), and fails to authenticate if you change it to latest.
Steps to reproduce the behavior:
image: mariadb:10
line forimage: mariadb
.Expected behavior It should authenticate correctly with version 11 as well.
Screenshots If applicable, add screenshots to help explain your problem.
Software:
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context Add any other context about the problem here.