Project

General

Profile

Actions

Bug #98518

closed

Wrong version detection of database

Added by Stefan Froemken over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Database API (Doctrine DBAL)
Target version:
Start date:
2022-10-04
Due date:
% Done:

100%

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

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


Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Bug #93261: Wrong detection of MariaDB/MySQL version on Debian 9New2021-01-11

Actions
Actions

Also available in: Atom PDF