Make WordPress Core

Changeset 56982


Ignore:
Timestamp:
10/22/2023 09:03:12 AM (14 months ago)
Author:
SergeyBiryukov
Message:

General: Bump the recommended MySQL version in readme.html.

MySQL 5.7 reaches EOL (“End of Life”) in October 2023. The recommended minimum is bumped to 8.0 for now.

References:

Follow-up to [31291], [33946], [35759], [52420], [52421], [54069].

Props swissspidy, SergeyBiryukov.
See #59701.

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/readme.html

    r56141 r56982  
    5959<ul>
    6060    <li><a href="https://secure.php.net/">PHP</a> version <strong>7.4</strong> or greater.</li>
    61     <li><a href="https://www.mysql.com/">MySQL</a> version <strong>5.7</strong> or greater OR <a href="https://mariadb.org/">MariaDB</a> version <strong>10.4</strong> or greater.</li>
     61    <li><a href="https://www.mysql.com/">MySQL</a> version <strong>8.0</strong> or greater OR <a href="https://mariadb.org/">MariaDB</a> version <strong>10.4</strong> or greater.</li>
    6262    <li>The <a href="https://httpd.apache.org/docs/2.2/mod/mod_rewrite.html">mod_rewrite</a> Apache module.</li>
    6363    <li><a href="https://wordpress.org/news/2016/12/moving-toward-ssl/">HTTPS</a> support.</li>
  • trunk/src/wp-admin/includes/class-wp-site-health.php

    r56664 r56982  
    1818    private $mysql_server_version        = '';
    1919    private $mysql_required_version      = '5.5';
    20     private $mysql_recommended_version   = '5.7';
     20    private $mysql_recommended_version   = '8.0';
    2121    private $mariadb_recommended_version = '10.4';
    2222
  • trunk/tests/phpunit/tests/readme.php

    r54479 r56982  
    4949         * Per https://www.mysql.com/support/, Oracle actively supports MySQL releases for 5 years from GA release.
    5050         *
    51          * The currently recommended MySQL 5.7 branch moved from active support to extended support on 2020-10-21.
    52          * As WordPress core is not fully compatible with MySQL 8.0 at this time, the "supported" period here
     51         * The currently recommended MySQL 8.0 branch moved from active support to extended support on 2023-04-19.
     52         * As WordPress core may not be fully compatible with MySQL 8.1 at this time, the "supported" period here
    5353         * is increased to 8 years to include extended support.
    5454         *
    55          * TODO: Reduce this back to 5 years once MySQL 8.0 compatibility is achieved.
     55         * TODO: Reduce this back to 5 years once MySQL 8.1 compatibility is achieved.
    5656         */
    5757        $mysql_eol    = gmdate( 'Y-m-d', strtotime( $mysql_matches[1] . ' +8 years' ) );
Note: See TracChangeset for help on using the changeset viewer.