Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request to Expand MariaDB Version Support (10.11 LTS & 11.x, Including Debian 12/13 Defaults #39775

Open
magexon opened this issue Mar 28, 2025 · 2 comments

Comments

@magexon
Copy link

magexon commented Mar 28, 2025

Description

Dear Magento Community,

Currently, Magento’s di.xml file restricts MariaDB compatibility to only:

MariaDB 10.2–10.6

MariaDB 11.4

However, modern Linux distributions and MariaDB’s own release cycle include newer, stable versions:

MariaDB 10.11 (LTS) – Default in Debian 12 "Bookworm" (supported until 2028)

MariaDB 11.8 – Default in upcoming Debian 13 "Trixie"

All 11.x releases (11.0–11.8) – Actively maintained stable versions

This limitation forces users to manually downgrade or upgrade MariaDB unnecessarily, creating deployment friction.

Expected behavior

Magento should support all stable MariaDB 10.x (10.2–10.11) and 11.x (11.0+) releases by updating di.xml with flexible version checks:

^10.([2-9]|1[0-1]).

^11.[0-9]+.

Benefits

Native Linux Distribution Support

Ensures compatibility with Debian 12 (10.11) and Debian 13 (11.8) out of the box.

Avoids forcing users to modify system packages just to run Magento.

Future-Proof Maintenance

The ^11.[0-9]+. regex automatically accommodates future 11.x releases without requiring di.xml updates.

Reduces maintenance overhead for both the Magento team and end-users.

Enterprise & LTS Readiness

MariaDB 10.11 (LTS) is critical for long-term deployments (supported until 2028).

Businesses shouldn’t be forced to use older versions due to artificial restrictions.

Verified Stability

Testing confirms Magento works flawlessly on 10.11 (Debian 12) and 11.8 (Debian 13) with no regressions in:

Catalog management

Checkout/payments

Indexing performance

Can the Magento team approve this change to align with real-world server environments? I’m happy to provide additional testing details if needed.

Thank you for considering this improvement!

Additional information

No response

Release note

No response

Copy link

m2-assistant bot commented Mar 28, 2025

Hi @magexon. Thank you for your report.
To speed up processing of this issue, make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce.


Join Magento Community Engineering Slack and ask your questions in #github channel.
⚠️ According to the Magento Contribution requirements, all issues must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting.
🕙 You can find the schedule on the Magento Community Calendar page.
📞 The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket.

@bhennesAdv
Copy link

Hello,

Support is planned for 2.4.8 version according to my readings :
https://experienceleague.adobe.com/en/docs/commerce-operations/release/notes/magento-open-source/2-4-8

AC-12085: Add compatibility with MariaDB 11.4 LTS For CE

I'm pretty sure that compatibility will not be back-ported to 2.4.7, that's not really the politic about project maintenance.
You can just patch the app/etc/di.xml to match your version and take responsibility for SQL connector errors if some happens.

As you said, I know that some 2.3.5 instances were working correctly without apparent mistake on MariaDB 10.11.6 but I never tested edge cases

I hope this helps,
Kind Regards,
Baptiste

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants