Make WordPress Core

Opened 7 months ago

Closed 7 months ago

Last modified 5 months ago

#60036 closed defect (bug) (fixed)

Raise the minimum required version of MySQL to 5.5.5

Reported by: desrosj's profile desrosj Owned by: desrosj's profile desrosj
Milestone: 6.5 Priority: normal
Severity: normal Version:
Component: Database Keywords: has-patch commit add-to-field-guide
Focuses: Cc:

Description

The minimum version of MySQL required to run WordPress has sat at 5.0 since 2011 (see [17523]).

MySQL 5.0 was initially made generally available in 2005 and reached its end of life (EOL) in January of 2012, making it unsupported and insecure for over 12 years. This is extremely old and this requirement is being raised.

Currently, only 0.4% of all WordPress sites are running either version 5.0 or 5.1 of MySQL.

Usage for MySQL 5.5 sits at just under 15%, making it the logical landing point. Of all sites running 5.5.x, 100% of them are running 5.5.5 or higher. utf8mb4 support was introduced in 5.5.3, and InnoDB was made the default storage engine over MyISAM in 5.5.5, making it worthwhile to use the 5.5.5 point release instead of any 5.5.x version (utf8mb4 is the preferred default character set).

Change History (4)

This ticket was mentioned in PR #5740 on WordPress/wordpress-develop by @desrosj.


7 months ago
#1

Raises the minimum version of MySQL required to run WordPress to 5.5.5.

Trac ticket: core.trac.wordpress.org/ticket/60036

#2 @desrosj
7 months ago

  • Owner set to desrosj
  • Resolution set to fixed
  • Status changed from new to closed

In 57173:

Database: Raise the minimum required version of MySQL.

This raises the minimum version of MySQL required to run WordPress from 5.0 to 5.5.5.

MySQL 5.0 and 5.1 have long been unsupported and both reached end of life over 10 years ago. Combined usage for both versions sits at 0.4% of all WordPress sites.

Because 5.5 sits at just under 15% usage, 5.5 cannot be trimmed off at this time.

Of all sites running 5.5.x, 85% are running 5.5.5, and 100% are running 5.5.5 or higher. This makes it the logical landing spot.

Props johnbillion, sergeybiryukov, jorbin.
Fixes #60036.

#4 @stevenlinx
5 months ago

  • Keywords add-to-field-guide added
Note: See TracTickets for help on using tickets.