Skip to content

Add link to MySQL docs for max_packet_size diagnostic warning #20990

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 10, 2023

Conversation

bx80
Copy link
Contributor

@bx80 bx80 commented Jul 10, 2023

Description:

Fixes #20970

This PR simply adds a link to the MySQL docs for the max_packet_size diagnostic warning.

Translation file were updated because this adds two placeholders for the link, existing placeholder were renumbered but no language changes were made.

Review

@bx80 bx80 added Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. labels Jul 10, 2023
@bx80 bx80 added this to the 5.0.0 milestone Jul 10, 2023
@bx80 bx80 self-assigned this Jul 10, 2023
@michalkleiner
Copy link
Contributor

Does the same docs apply to different versions of MySQL? That's the only reason why I didn't pick this up as I wasn't sure whether we should e.g. link to an FAQ page with different links for different MySQL versions.

@bx80
Copy link
Contributor Author

bx80 commented Jul 10, 2023

I did think about having different links depending on the database engine, but we don't have any proper system for detecting different database types and this config setting is exactrly the same for MySQL 5.x, 8.x and MariaDb, so the MySQL 8.x documentation page will work for all.

Later on when we implement more database abstraction then this link could be provided by the database driver.

Co-authored-by: Michal Kleiner <michal@innocraft.com>
@sgiehl sgiehl merged commit c07fab7 into 5.x-dev Jul 10, 2023
@sgiehl sgiehl deleted the m20970-max-packet-link branch July 10, 2023 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Development

Successfully merging this pull request may close these issues.

In the Diagnostics plugin (core) add a helpful link to Packet Too Large for max_allowed_packet
3 participants