MySQL container images based on Red Hat Software Collections and intended for OpenShift and general usage. Users can choose between Red Hat Enterprise Linux, Fedora, and CentOS based images.
When using just TCP ping for the port, mysqld daemon expects some data that do not come. With "set global log_error_verbosity=3;", a warning is printed to the errlog, like this:
Got an error reading communication packets
(every 10s, depending on the liveness probe delay)
This makes issues when tools analyze the errlog, because those innoncent connection errors cannot be distinguised from real connection issues.
With using mysqladmin, similar to the readiness probe, the warning should not be printed any more.
Use mysqladmin for the liveness probe
When using just TCP ping for the port, mysqld daemon expects some data that do not come. With "set global log_error_verbosity=3;", a warning is printed to the errlog, like this: Got an error reading communication packets (every 10s, depending on the liveness probe delay)
This makes issues when tools analyze the errlog, because those innoncent connection errors cannot be distinguised from real connection issues.
With using mysqladmin, similar to the readiness probe, the warning should not be printed any more.
Fixes: rhbz#1767393 Upstream issue: https://github.com/sclorg/mysql-container/issues/274 Upstream fix: https://github.com/sclorg/mysql-container/pull/285