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

in Help by (551k points) | 401 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 (551k points)

Related questions

+3 votes
2 answers
asked Jun 6, 2020 in iPad by backtothefuture (551k points) | 284 views
+4 votes
2 answers
+5 votes
1 answer
+5 votes
1 answer
asked May 26, 2019 in Help by backtothefuture (551k points) | 356 views
+4 votes
1 answer
asked Nov 12, 2020 in Linux / Unix by backtothefuture (551k points) | 368 views
Sponsored articles cost $40 per post. You can contact us via Feedback
10,632 questions
10,764 answers
510 comments
3 users