This patch addes documentation content for post-80 option
support in MySQL 8.x version. Which handles new default auth
plugin caching_sha2_password.
---
doc/configuration.txt | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/doc/configuration.txt b/doc/configuration.txt
index d10c68972..56f2803ce 100644
--- a/doc/configuration.txt
+++ b/doc/configuration.txt
@@ -10786,7 +10786,7 @@ no option logasap
logging.
-option mysql-check [ user <username> [ { post-41 | pre-41 } ] ]
+option mysql-check [ user <username> [ { post-41 | pre-41 | post-80 } ] ]
Use MySQL health checks for server testing
May be used in the following contexts: tcp
@@ -10799,6 +10799,12 @@ option mysql-check [ user <username> [ { post-41 |
pre-41 } ] ]
server.
post-41 Send post v4.1 client compatible checks (the default)
pre-41 Send pre v4.1 client compatible checks
+ post-80 Send post v8.0 client compatible checks with CLIENT_PLUGIN_AUTH
+ capability set and mysql_native_password as the authentication
+ plugin. Use this option when connecting to MySQL 8.0+ servers
+ where the health check user is created with
mysql_native_password
+ authentication. Example:
+ CREATE USER 'haproxy'@'%' IDENTIFIED WITH
mysql_native_password BY '';
If you specify a username, the check consists of sending two MySQL packet,
one Client Authentication packet, and one QUIT packet, to correctly close
--
2.48.1