function Tasks::minimumVersion

Return the minimum required version of the engine.

Return value

A version string. If not NULL, it will be checked against the version reported by the Database engine using version_compare().

Overrides Tasks::minimumVersion

File

core/lib/Drupal/Core/Database/Driver/mysql/Install/Tasks.php, line 52

Class

Tasks
Specifies installation tasks for MySQL and equivalent databases.

Namespace

Drupal\Core\Database\Driver\mysql\Install

Code

public function minimumVersion() {
  // This can not be increased above '5.5.5' without dropping support for all
  // MariaDB versions. MariaDB prefixes its version string with '5.5.5-'. For
  // more information, see
  // https://github.com/MariaDB/server/blob/f6633bf058802ad7da8196d01fd19d75c53f7274/include/mysql_com.h#L42.
  return '5.5.3';
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.