#98518Wrong version detection of database
Description
Hello,
I just try to install TYPO3 12.0, but install wizard fails because of:
MariaDB version too low Your MariaDB version 5.5.5 is too old. TYPO3 CMS does not run with this version. Update to at least MariaDB 10.3.0
My .ddev/config.yaml:
mariadb_version: "10.3"
Server Version copied from PhpMyAdmin:
Server-Version: 10.3.32-MariaDB-1:10.3.32+maria~focal-log - mariadb.org binary distribution
I have started a xdebug session in TYPO3\CMS\Install\SystemEnvironment\DatabaseCheck\Platform\MySql.php. In method checkMySQLOrMariaDBVersion the Server string is:
MySQL 5.5.5-10.3.32-MariaDB-1:10.3.32+maria~focal-log
Seems the preg_match “/MySQL ((\d+\.)*(\d+\.)*\d+)/” has to be updated.
Stefan