Web Applications

Fix Moodle Database MySQL Version 5.5.31 Is Required

Problem

When you install or update Moodle you receive the following error:

Database MySQL Version 5.5.31 Is Required And You Are Running 5.5.5.10.1.17

Moodle will not install or update.

Cause

A bug in Moodle means it cannot detect the latest version of MariaDB database server used on all Ecenica Web Hosting packages and Managed Cloud Servers.

Resolution

  1. Edit your Moodle config.php
  2. Change $CFG->dbtype from mysqli to mariadb
  3. Save
  4. Restart the installation or update of Moodle

Was this guide helpful?

Need help with this?

Open a ticket and link to this guide so our team can see what you have tried.

View support tickets

Power your business with Ecenica Hosting

Built for WordPress and serious websites. Fast, secure and supported by real people in the UK.

Ecenica hosting services represented by a connected red route across London