K8SPXC-1510 Enable log_error_suppression_list to reduce spam in MySQL error log #1876
+1
−0
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.
CHANGE DESCRIPTION
Problem:
MySQL Error Log writes a Warning when a deprecated feature is used. This spams the logs and makes them harder to read.
{"log":"2024-11-21T16:06:34.591561Z 151230 [Warning] [MY-013360] [Server] Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'\n","file":"/var/lib/mysql/mysqld-error.log"}
Cause:
Users are created with mysql_native_password authentication and should be at some point migrated to caching_sha2_password
Solution:
I've added the example to cr.yaml and left it commented out.
Consider instead the PR is to enable mysqld configuration for at least this one feature so that default logs are less spammy.
CHECKLIST
Jira
Needs Doc
) and QA (Needs QA
)?Tests
compare/*-oc.yml
)?Config/Logging/Testability