Closed VFXpro closed 1 year ago
Hi there,
Currently moodle supports a named downgrade of MySQL Supported version, you just need to add the environment variable MOODLE_DATABASE_MIN_VERSION=5.6.47.0
you'll not lose any feature of moodle or mysql, this is just a work arround when using azure databases.
@VFXpro my bad, i need to correct the info above, this config can be found here admin/environment.xml at the moodle source code. To fix you'll need to change the required version to 5.6.47.0
, and as mentioned before there is no problems to do this.
The sed command that i used:
sed -i "s/name=\"mysql\" version=\"5.7\"/name=\"mysql\" version=\"5.6.47.0\"/" /path/to/moodle/admin/environment.xml
We are now supporting Azure Flexible Server For MySQL version 5.7 and 8.0.21 https://github.com/Azure/Moodle/blob/master/azuredeploy.json#L290
After deployment of this template, the Azure UI claims Azure for MySQL is v.5.6 but Moodle verification reports it as 5.6.47.0. :( This means, we can't use this template, it's simply too old. We're forced to deploy a new MySQL Flexible server as v5.7. Then reconnect everything to it. Not as user friendly. Please improve.