ioweb / mariadbhotfix
Patches Magento 2 to accept MariaDB 10.x and 11.x by adding the required version patterns to SqlVersionProvider.
Package info
github.com/ioweb-gr/m2_mariadbhotfix
Language:Batchfile
Type:magento2-module
pkg:composer/ioweb/mariadbhotfix
1.0.9
2026-03-20 07:36 UTC
Requires
- php: >=7.0
README
Magento 2 module that patches the SqlVersionProvider to accept MariaDB 10.x and 11.x version strings. Without this patch, Magento throws a version compatibility error when running on recent MariaDB releases.
What it does
Adds two version patterns to Magento\Framework\DB\Adapter\SqlVersionProvider via DI:
^10\.\d+\.— matches any MariaDB 10.x release^11\.\d+\.— matches any MariaDB 11.x release
This is not a functional compatibility fix — it simply tells Magento to stop rejecting the MariaDB version string.
Installation
composer require ioweb-gr/m2_mariadbhotfix bin/magento module:enable Ioweb_MariaDbHotfix bin/magento setup:upgrade
Requirements
- PHP >= 7.0
- Magento 2
License
Proprietary — IOWEB TECHNOLOGIES