From 0bb667d50d3373f873c6dbdf59c3488f45724c6f Mon Sep 17 00:00:00 2001 From: Reedy Date: Thu, 13 Jul 2017 17:14:37 +0100 Subject: [PATCH] Bump minimum required MySQL Version to 5.5.8 Bug: T161232 Change-Id: I5f7d08ad7e58ce89c9fd766f0ac45fa996bf6a44 --- INSTALL | 2 +- RELEASE-NOTES-1.30 | 6 +++++- includes/installer/MysqlInstaller.php | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/INSTALL b/INSTALL index 90da38159c..13c9c62600 100644 --- a/INSTALL +++ b/INSTALL @@ -8,7 +8,7 @@ Starting with MediaWiki 1.2.0, it's possible to install and configure the wiki Required software: * Web server with PHP 5.5.9 or higher. * A SQL server, the following types are supported -** MySQL 5.0.3 or higher +** MySQL 5.5.8 or higher ** PostgreSQL 8.3 or higher ** SQLite 3.3.7 or higher ** Oracle 9.0.1 or higher diff --git a/RELEASE-NOTES-1.30 b/RELEASE-NOTES-1.30 index 453368bebb..4581066677 100644 --- a/RELEASE-NOTES-1.30 +++ b/RELEASE-NOTES-1.30 @@ -5,6 +5,10 @@ THIS IS NOT A RELEASE YET MediaWiki 1.30 is an alpha-quality branch and is not recommended for use in production. +=== MySQL version requirement in 1.30 === +As of 1.30, MediaWiki now requires MySQL 5.5.8 or higher (see Compatibility +section). + === Configuration changes in 1.30 === * The "C.UTF-8" locale should be used for $wgShellLocale, if available, to avoid unexpected behavior when code uses locale-sensitive string comparisons. For @@ -147,7 +151,7 @@ Oracle and Microsoft SQL Server. The supported versions are: -* MySQL 5.0.3 or later +* MySQL 5.5.8 or later * PostgreSQL 8.3 or later * SQLite 3.3.7 or later * Oracle 9.0.1 or later diff --git a/includes/installer/MysqlInstaller.php b/includes/installer/MysqlInstaller.php index cbb79f8df3..0250b6f9c3 100644 --- a/includes/installer/MysqlInstaller.php +++ b/includes/installer/MysqlInstaller.php @@ -51,7 +51,7 @@ class MysqlInstaller extends DatabaseInstaller { public $supportedEngines = [ 'InnoDB', 'MyISAM' ]; - public $minimumVersion = '5.0.3'; + public $minimumVersion = '5.5.8'; public $webUserPrivs = [ 'DELETE', -- 2.20.1