Skip to content

Update serverVersion usage - #3331

Draft
adriendupuis wants to merge 1 commit into
5.0from
update-dbal-serverVersion
Draft

Update serverVersion usage#3331
adriendupuis wants to merge 1 commit into
5.0from
update-dbal-serverVersion

Conversation

@adriendupuis

@adriendupuis adriendupuis commented Jul 30, 2026

Copy link
Copy Markdown
Contributor
Question Answer
JIRA Ticket
Versions
Edition

[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@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

Checklist

  • Text renders correctly
  • Text has been checked with vale
  • Description metadata is up to date
  • Redirects cover removed/moved pages
  • Code samples are working
  • PHP code samples have been fixed with PHP CS fixer
  • Added link to this PR in relevant JIRA ticket or code PR

@github-actions

Copy link
Copy Markdown

Preview of modified files

Preview of modified Markdown:

@github-actions

Copy link
Copy Markdown

Summary

Status Count
🔍 Total 736642
🔗 Unique 14761
✅ Successful 6191
⏳ Timeouts 0
🔀 Redirected 3
👻 Excluded 730450
❓ Unknown 0
🚫 Errors 1
⛔ Unsupported 0

Errors per input

Errors in site/resources/new_in_doc/index.html

  • [ERROR] file:///home/runner/work/documentation-developer/documentation-developer/repositories/userdoc-4.6/site/content_management/block_reference/index.html#bestsellers-block (at 19441:14) | Cannot find fragment

Redirects per input

Redirects in site/ai/mcp/mcp_guide/index.html

Redirects in site/ai/mcp/mcp_usage/index.html

Full Github Actions output

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).).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants