Skip to content

[DoctrineBridge] MariaDB server version no longer needs the prefix #18395

Closed
@NanoSector

Description

@NanoSector

The MariaDB server version no longer needs the prefix starting with Doctrine DBAL 4.x. The docs currently have a note mentioning the mariadb- prefix requirement:
https://symfony.com/doc/current/reference/configuration/doctrine.html#doctrine-dbal-configuration

Doctrine DBAL currently throws a deprecation notice:

User Deprecated: Version detection logic for MySQL will change in DBAL 4. Please specify the version as the server reports it, e.g. "10.9.3-MariaDB" instead of "mariadb-10.9". (AbstractMySQLDriver.php:125 called by AbstractMySQLDriver.php:37, https://github.com/doctrine/dbal/pull/5779, package doctrine/orm)

This seems to be already implemented by Doctrine: doctrine/dbal#5779

In preparation of DBAL 4.x it might be preferred to change the documentation to avoid confusion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DoctrineBridgehasPRA Pull Request has already been submitted for this issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions