public $mysqlVersions = [
'mysql' => [
- // MySQL 8.0 < 8.0.14 contains a nasty bug
- // https://bugs.mysql.com/bug.php?id=88718
'5' => '5.7.31',
- '8' => '8.0.14',
+ '8' => '8.0.19',
],
'mariadb' => [
'10' => '10.1.44',
$this->results['mysql']['result'] = (version_compare($compareSQLVersion, $this->mysqlVersions['mariadb']['10']) >= 0);
}
else {
- // For MySQL 8.0, MySQL 8.0.14+ is required
- // https://bugs.mysql.com/bug.php?id=88718
if ($compareSQLVersion[0] === '5') {
$this->results['mysql']['result'] = (version_compare($compareSQLVersion, $this->mysqlVersions['mysql']['5']) >= 0);
}
}
}
else {
- // MySQL 5.7.31+ or MySQL 8.0.14+ are required
- // https://bugs.mysql.com/bug.php?id=88718
if ($compareSQLVersion[0] === '8') {
- // MySQL 8.0.14+
- if (!(version_compare($compareSQLVersion, '8.0.14') >= 0)) {
- throw new SystemException("Insufficient MySQL version '".$compareSQLVersion."'. Version '5.7.31' or greater, or version '8.0.14' or greater is needed.");
+ // MySQL 8.0.19+
+ if (!(version_compare($compareSQLVersion, '8.0.19') >= 0)) {
+ throw new SystemException("Insufficient MySQL version '".$compareSQLVersion."'. Version '5.7.31' or greater, or version '8.0.19' or greater is needed.");
}
}
else if (!(version_compare($compareSQLVersion, '5.7.31') >= 0)) {
// MySQL 5.7.31+
- throw new SystemException("Insufficient MySQL version '".$compareSQLVersion."'. Version '5.7.31' or greater, or version '8.0.14' or greater is needed.");
+ throw new SystemException("Insufficient MySQL version '".$compareSQLVersion."'. Version '5.7.31' or greater, or version '8.0.19' or greater is needed.");
}
}
'en' => 'MySQL Requirements'
],
'mysql_version' => [
- 'de' => 'Bitte stellen Sie sicher, dass MySQL 5.7.31+/MySQL 8.0.14+ oder MariaDB 10.1.44+ mit InnoDB-Unterstützung vorhanden ist.',
- 'en' => 'Please make sure that MySQL 5.7.31+/MySQL 8.0.14+ or MariaDB 10.1.44+, with InnoDB support is available.'
+ 'de' => 'Bitte stellen Sie sicher, dass MySQL 5.7.31+/MySQL 8.0.19+ oder MariaDB 10.1.44+ mit InnoDB-Unterstützung vorhanden ist.',
+ 'en' => 'Please make sure that MySQL 5.7.31+/MySQL 8.0.19+ or MariaDB 10.1.44+, with InnoDB support is available.'
],
'result' => [
'de' => 'Ergebnis',