
If you're working with Magento and encounter the dreaded "Current version of RDBMS is not supported" error, don't panic! This error typically occurs because your database version falls outside the range of officially supported versions. Magento, by default, supports MariaDB versions 10.2 to 10.4, but what if you're using a newer version, like MariaDB 10.11?
Here's a quick and effective workaround to get your Magento site running without downgrading your database.
The Problem
Magento checks for the database version compatibility in its configuration files. If you're using a version outside the allowed range (e.g., MariaDB 10.6 or 10.11), Magento throws an error, preventing you from proceeding.
The Solution: Updating the di.xml File
To allow Magento to accept your MariaDB version, you'll need to make a small edit in the di.xml file. This file contains Magento's dependency injection configuration, including database compatibility settings.
Step-by-Step Guide:
1: Locate the di.xml File: Navigate to the following file in your Magento installation directory:

