PHPackages                             amadeco/module-db-override - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. amadeco/module-db-override

ActiveMagento2-module[Database &amp; ORM](/categories/database)

amadeco/module-db-override
==========================

A module to enable experimental mariadb 12.X series before offical support is available.

v1.2.0(2w ago)1611OSL-3.0PHPPHP ~8.3.0||~8.4.0||~8.5.0

Since Mar 27Pushed 2w ago2 watchersCompare

[ Source](https://github.com/Amadeco/magento2-db-override)[ Packagist](https://packagist.org/packages/amadeco/module-db-override)[ RSS](/packages/amadeco-module-db-override/feed)WikiDiscussions main Synced yesterday

READMEChangelog (4)Dependencies (2)Versions (5)Used By (0)

Amadeco DbOverride Module for Magento 2
=======================================

[](#amadeco-dboverride-module-for-magento-2)

[![Latest Stable Version](https://camo.githubusercontent.com/2b9991c0311656be8dbb65a34e62a8fde2f711ba49a11baca37ee44c6a613003/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f416d616465636f2f6d6167656e746f322d64622d6f76657272696465)](https://github.com/Amadeco/magento2-db-override/releases)[![Magento 2](https://camo.githubusercontent.com/7ca3909c73f8748e38748627518617c1217a86ccbc1387f75dc61eaf8f405680/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d6167656e746f2d322e342e782d627269676874677265656e2e737667)](https://magento.com)[![PHP](https://camo.githubusercontent.com/4370d464f7091224872be41d8f015fff8d311296a22b29e19bb5d5850508fac9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382b2d627269676874626c75652e737667)](https://www.php.net)[![License](https://camo.githubusercontent.com/b4801c4c17edf4653a8b3e71e5c770466b4ca4f3b37f4335c57e4e80fb352e99/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f416d616465636f2f6d6167656e746f322d64622d6f76657272696465)](https://github.com/Amadeco/magento2-db-override/blob/main/LICENSE)

[SPONSOR: Amadeco](https://www.amadeco.fr)

Extend database version compatibility for Magento 2 with experimental support for MariaDB 11.X/12.X and enhanced version detection.

What it does
------------

[](#what-it-does)

Three fixes for running Magento 2.4.x on a MariaDB version ahead of its certified matrix (all rooted in the same uncertified MariaDB 12.x engine):

1. **Version detection** — adds MariaDB 11.4 / 12.0–12.4 patterns to `SqlVersionProvider::$supportedVersionPatterns`, so setup/version gating stops rejecting the engine with *"Current version of RDBMS is not supported"*.
2. **Default charset** — an after-plugin on the declarative-schema `Table` factory returns `utf8mb4` / `utf8mb4_general_ci` for MariaDB &gt;= 10.4 (the hardcoded static map only knows 10.4/10.6/11.4/mysql8.29). ⚠ Activate **only** once live tables are already utf8mb4 — see [`NOTES.md`](NOTES.md).
3. **Reserved word `to_date`** — `TO_DATE` is a reserved function name on MariaDB 12.x, so a bare `to_date` column identifier is a 1064 syntax error. Two `around` plugins re-add the `from_date`/`to_date` validity-date predicates back-tick quoted in `SalesRule\...\DateApplier::applyDate()` (cart/checkout, never FPC-cached → hard 500) and `Smile\ElasticsuiteCatalogOptimizer\...\Collection::addIsActiveFilter()` (FPC-masked, 500 on cache miss). Scoped to MariaDB 12+ via `Model\ReservedWordEngine`; a true pass-through on MySQL / MariaDB &lt; 12. *(Merged in from the former `Amadeco_MariaDbReservedWordFix`.)*

### Dependencies

[](#dependencies)

`magento/framework` is the only hard requirement. The SalesRule and ElasticSuite optimizer integrations are **soft**: declared via `` in `module.xml` (load-order only — tolerates absence) and listed under `suggest` in `composer.json`. Each date-filter plugin activates only when its target module is installed; on a build without it, the plugin is skipped at `setup:di:compile` and inert at runtime. No hard composer dependency is created on either module.

Installation
------------

[](#installation)

### Composer Installation

[](#composer-installation)

Execute the following commands in your Magento root directory:

```
composer require amadeco/module-db-override
bin/magento module:enable Amadeco_DbOverride
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento setup:static-content:deploy
```

### Manual Installation

[](#manual-installation)

1. Create directory `app/code/Amadeco/DbOverride` in your Magento installation
2. Clone or download this repository into that directory
3. Enable the module and update the database:

```
bin/magento module:enable Amadeco_DbOverride
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento setup:static-content:deploy
```

Compatibility
-------------

[](#compatibility)

- Magento 2.4.x
- PHP 8.3

### 🛠 Supported Database Versions

[](#-supported-database-versions)

- MySQL 5.7
- MySQL 8.0
- MariaDB 10.2 - 10.6 - 10.11
- MariaDB 11.4
- MariaDB 12.0 - 12.4

Contributing
------------

[](#contributing)

Contributions are welcome! Please read our [Contributing Guidelines](CONTRIBUTING.md).

Support
-------

[](#support)

For issues or feature requests, please create an issue on our GitHub repository.

License
-------

[](#license)

This module is licensed under the Open Software License ("OSL") v3.0. See the [LICENSE.txt](LICENSE.txt) file for details.

###  Health Score

49

—

FairBetter than 94% of packages

Maintenance97

Actively maintained with recent releases

Popularity19

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~148 days

Total

4

Last Release

17d ago

PHP version history (2 changes)v1.0.0PHP ~8.1.0||~8.2.0||~8.3.0

v1.2.0PHP ~8.3.0||~8.4.0||~8.5.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/b211427be009c505885db00496fe829753399414856083648cec5c7af5003fcd?d=identicon)[IlanAmadeco](/maintainers/IlanAmadeco)

---

Top Contributors

[![Amadeco](https://avatars.githubusercontent.com/u/2975845?v=4)](https://github.com/Amadeco "Amadeco (26 commits)")

---

Tags

databasemagento2magento2-extensionmagento2-modulemariadbmariadb-server

### Embed Badge

![Health badge](/badges/amadeco-module-db-override/health.svg)

```
[![Health](https://phpackages.com/badges/amadeco-module-db-override/health.svg)](https://phpackages.com/packages/amadeco-module-db-override)
```

###  Alternatives

[fastly/magento2

Fastly CDN Module for Magento 2.4.x

1564.4M1](/packages/fastly-magento2)[swissup/module-search-mysql-legacy

Legacy mysql search for magento 2.4

10489.1k](/packages/swissup-module-search-mysql-legacy)[myparcelnl/magento

A Magento 2 module that creates MyParcel labels

1860.2k](/packages/myparcelnl-magento)[mage-os/module-automatic-translation

Automatic AI content translation for Mage-OS.

3017.9k](/packages/mage-os-module-automatic-translation)[loki/magento2-components

Core module for defining Alpine.js components with advanced AJAX features

1011.8k26](/packages/loki-magento2-components)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
