Description
Hi
Documentation about configuring the database give as example this configuration for MariaDB
DATABASE_URL="mysql://db_user:[email protected]:3306/db_name?serverVersion=mariadb-10.5.8"
And Doctrine DBAL reference is explaining
If you are running a MariaDB database, you must prefix the server_version value with mariadb- (e.g. server_version: mariadb-10.4.14). This will change in Doctrine DBAL 4.x, where you must define the version as output by the server (e.g. 10.4.14-MariaDB).
While Doctrine documentation suggests X.Y.Z-MariaDB is valid, even if DBAL 4 is not released yet
Doctrine DBAL is currently 3.7 and Symfony official recipes is already providing X.Y.Z-MariaDB syntax, which seems to be correct, considering a project using DBAL 3.7.1 i am currently working on
I'm still not sure which version has changed perhaps someone else has also encountered this situation or has a better knowledge of DBAL but i think current state of documentation can be confusing