containers
containers copied to clipboard
[bitnami/moodle] couldnt connect to sql [existing database]
Name and Version
bitnami/moodle:latest
What architecture are you using?
None
What steps will reproduce the bug?
I am using an Azure Flexible mysql server, When the database is new and installing a fresh moodle works fine. But when I restarted the container, it won't connect to the database, I have persisted the Moodle data
I have checked the mysql server logs
================LOGS=============
Access denied for user '0be4d'@'20.76.X.X' (using password: YES)
==================================
I don't why it's trying to connect with user 0be4d, I have never mentioned it in the compose file, and I even checked config.php, credentials are valid with what I was given in the compose file.
What do you see instead?
Should reconnect to the database server without any error.