When connecting to MySQL/MariaDB with Doctrine you need to specify the version number of the server in the serverVersion query string parameter. In the past it was as simple as serverVersion=mariadb-10.5.10 and things just worked. Recent updates to Doctrine’s DBAL have started to throw warnings that version 4 will require…