-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
Labels
DoctrineBridgehasPRA Pull Request has already been submitted for this issue.A Pull Request has already been submitted for this issue.
Description
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
Labels
DoctrineBridgehasPRA Pull Request has already been submitted for this issue.A Pull Request has already been submitted for this issue.