Issue Bug Closed

#93261Wrong detection of MariaDB/MySQL version on Debian 9

Andreas Kießling 01/11/21, 10:19 updated 05/25/24, 15:47

Description

After having issues with a DB compare in a 10.4 instance with #93150 and the hint from Christian Kuhn, ich checked the environment status of the system:

The dropdown in the header reports this database version:

MySQL 5.5.5-10.1.47-MariaDB-0+deb9u1

This is unsupported as stated by https://get.typo3.org/version/10#system-requirements – MariaDB needs to be at version 10.2 or 10.3
The environment status however reports, that this version is fine

MySQL version is fine

The version is extracted like this

preg_match('/MySQL ((\d+\.)*(\d+\.)*\d+)/', $connection->getServerVersion(), $match);

So since Debian 9 says the version is MySQL 5.5, there is no error shown.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.