Invalid root password on database when moving to v23

I am currently running version .22.1 in Docker, and everything works perfectly. I know that .23 changes things with a simplified yaml file, so I want to upgrade. I have modified my current yaml file per the docs, and you can find a sanitized version here. The Vikunja container starts, but I see this authentication error continuously and obviously, I cannot access the service.

vikunja-db-1 | 2024-02-23 3:24:08 5 [Warning] Access denied for user ‘root’@‘localhost’ (using password: NO)
vikunja-db-1 | 2024-02-23 3:24:08 5 [Warning] Access denied for user ‘root’@‘localhost’ (using password: NO)

If I roll back to the 22.1, everything works perfectly. I have also confirmed that the passwords match (both root and user) in the two yaml files. What am I missing?

TIA!

The healthcheck in your docker compose file uses the root user and no password by default. Check out the example in the docs for how to change that so that it uses the configured username and password.

1 Like

Thank you so much I appreciate it. Apologies for the user error.