Update serverVersion usage - #3331
Draft
adriendupuis wants to merge 1 commit into
Draft
Conversation
`mariadb-` as a prefix is deprecated since doctrine/dbal 3.6.0 doctrine/dbal@213534b 3.5: https://www.doctrine-project.org/projects/doctrine-dbal/en/3.5/reference/configuration.html#automatic-platform-version-detection 3.6: https://www.doctrine-project.org/projects/doctrine-dbal/en/3.6/reference/configuration.html#mariadb
Preview of modified filesPreview of modified Markdown: |
Summary
Errors per inputErrors in site/resources/new_in_doc/index.html
Redirects per inputRedirects in site/ai/mcp/mcp_guide/index.html
Redirects in site/ai/mcp/mcp_usage/index.html |
mnocon
reviewed
Jul 31, 2026
| It's recommended that you store the database credentials in your `.env.local` file, and not commit that file to the Version Control System. | ||
|
|
||
| In `DATABASE_VERSION`, you can also configure the database server version (for a MariaDB database, prefix the value with `mariadb-`). | ||
| In `DATABASE_VERSION`, you can also configure the database server version (for a MariaDB database, use [the version as reported by the server](https://www.doctrine-project.org/projects/doctrine-dbal/en/3.10/reference/configuration.html#mariadb).). |
Contributor
There was a problem hiding this comment.
I'd just link to https://www.doctrine-project.org/projects/doctrine-dbal/en/3.10/reference/configuration.html#automatic-platform-version-detection , it has interesting info for all DB platforms.
Suggested change
| In `DATABASE_VERSION`, you can also configure the database server version (for a MariaDB database, use [the version as reported by the server](https://www.doctrine-project.org/projects/doctrine-dbal/en/3.10/reference/configuration.html#mariadb).). | |
| In `DATABASE_VERSION`, you can also configure the database server version. | |
| For more information, see [Automatic platform version detection](https://www.doctrine-project.org/projects/doctrine-dbal/en/3.10/reference/configuration.html#automatic-platform-version-detection). |
Suggested change
| In `DATABASE_VERSION`, you can also configure the database server version (for a MariaDB database, use [the version as reported by the server](https://www.doctrine-project.org/projects/doctrine-dbal/en/3.10/reference/configuration.html#mariadb).). | |
| In `DATABASE_VERSION`, you can also configure the database server version. | |
| For the expected version format, see [Automatic platform version detection](https://www.doctrine-project.org/projects/doctrine-dbal/en/3.10/reference/configuration.html#automatic-platform-version-detection). |
(I haven't checked if dbal 3.10 is the one we use in project)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
[2026-07-30T16:08:26.376147+02:00] deprecation.INFO: 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".mariadb-as a prefix is deprecated since doctrine/dbal 3.6.0 doctrine/dbal@213534b3.5: https://www.doctrine-project.org/projects/doctrine-dbal/en/3.5/reference/configuration.html#automatic-platform-version-detection
3.6: https://www.doctrine-project.org/projects/doctrine-dbal/en/3.6/reference/configuration.html#mariadb
Checklist