Magento only uses MySQL features compatible with MariaDB. MariaDB may not be compatible with all MySQL features, however; so be sure to research compatibility issues before using a feature in your Magento module. Reindexing on MariaDB 10.4 takes more time compared to other MariaDB or MySQL versions.
Magento is also compatible, but has not been tested and is not recommended, with MySQL 5.7.9, MariaDB 10.2, and Percona 5.7.
If possible, go with MySQL only.
Problem Solved ? Click on 'Kudos' & Accept as Solution !