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