+4 votes
429 views
How to fix "Moodle mysql update failed"

in Help by (552k points) | 429 views

1 Answer

+5 votes
Best answer

After making an update to a moodle portal, when trying to update the database from an old version to a new one, the following error appears: Moodle mysql update failed

mysql version: version 5.5.31 is required and you are running 5.5.5.10.1.10

The problem that is indicated is that the version of mysql installed is not correct, when it is not, when investigating a bit by google, I have detected that what is usually done is copying the old configuration file config.php, in this one The database driver indicated is mysqli, when in reality what should appear is that the driver is mariadb .

By changing this, it should work correctly, perform the update and it would not show the message again.


by (552k points)

Related questions

+3 votes
2 answers
asked Jun 6, 2020 in iPad by backtothefuture (552k points) | 325 views
+4 votes
2 answers
+5 votes
1 answer
+5 votes
1 answer
asked May 26, 2019 in Help by backtothefuture (552k points) | 381 views
+4 votes
1 answer
asked Nov 12, 2020 in Linux / Unix by backtothefuture (552k points) | 400 views
Sponsored articles cost $40 per post. You can contact us via Feedback

Most popular questions within the last 30 days

10,659 questions
10,791 answers
510 comments
3 users