Bug #93261

Wrong detection of MariaDB/MySQL version on Debian 9

Added by Andreas Kiessling 9 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Reports
Target version:
-
Start date:
2021-01-11
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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.


Related issues

Related to TYPO3 Core - Bug #93150: Update / change in Analyze Database StructureClosed2020-12-22

Actions
#1

Updated by Andreas Kiessling 9 months ago

  • Related to Bug #93150: Update / change in Analyze Database Structure added

Also available in: Atom PDF