Skip to content

MariaDB 10.5 support #31109

@marvinhinz

Description

@marvinhinz

Preconditions (*)

  1. Magento 2.4.1
  2. Debian Server upgraded to bullseye with MariaDB 10.5.8

Steps to reproduce (*)

  1. bin/magento setup:upgrade

Expected result (*)

  1. setup:upgrade should not abort

Actual result (*)

  1. Error: Current version of RDBMS is not supported. Used Version: 10.5.8-MariaDB-3. Supported versions: MySQL-8, MySQL-5.7, MariaDB-(10.2-10.4)

It is possible to circumvent the version check with an override in module di.xml:

    <type name="Magento\Framework\DB\Adapter\SqlVersionProvider">
        <arguments>
            <argument name="supportedVersionPatterns" xsi:type="array">
                <item name="MariaDB-(10.2-10.5)" xsi:type="string">^10\.[2-5]\.</item>
            </argument>
        </arguments>
    </type>

So far, no errors seem to occur with this hack. But i guess there will be some compatibility issues.


Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions