Rechercher dans le manuel MySQL
6.5.2.2 Connection-Control System and Status Variables
This section describes the system and status variables that the
CONNECTION_CONTROL
plugin provides to enable
its operation to be configured and monitored.
Connection-Control System Variables
If the CONNECTION_CONTROL
plugin is
installed, it exposes these system variables:
connection_control_failed_connections_threshold
Property Value Command-Line Format --connection-control-failed-connections-threshold=#
Introduced 8.0.1 System Variable connection_control_failed_connections_threshold
Scope Global Dynamic Yes SET_VAR
Hint AppliesNo Type Integer Default Value 3
Minimum Value 0
Maximum Value 2147483647
The number of consecutive failed connection attempts permitted to clients before the server adds a delay for subsequent connection attempts:
If the variable has a nonzero value
N
, the server adds a delay beginning with consecutive failed attemptN
+1. If a client has reached the point where connection responses are delayed, the delay also occurs for the next subsequent successful connection.Setting this variable to zero disables failed-connection counting. In this case, the server never adds delays.
For information about how
connection_control_failed_connections_threshold
interacts with other connection-control system and status variables, see Section 6.5.2.1, “Connection-Control Plugin Installation”.connection_control_max_connection_delay
Property Value Command-Line Format --connection-control-max-connection-delay=#
Introduced 8.0.1 System Variable connection_control_max_connection_delay
Scope Global Dynamic Yes SET_VAR
Hint AppliesNo Type Integer Default Value 2147483647
Minimum Value 1000
Maximum Value 2147483647
The maximum delay in milliseconds for server response to failed connection attempts, if
connection_control_failed_connections_threshold
is greater than zero.For information about how
connection_control_max_connection_delay
interacts with other connection-control system and status variables, see Section 6.5.2.1, “Connection-Control Plugin Installation”.connection_control_min_connection_delay
Property Value Command-Line Format --connection-control-min-connection-delay=#
Introduced 8.0.1 System Variable connection_control_min_connection_delay
Scope Global Dynamic Yes SET_VAR
Hint AppliesNo Type Integer Default Value 1000
Minimum Value 1000
Maximum Value 2147483647
The minimum delay in milliseconds for server response to failed connection attempts, if
connection_control_failed_connections_threshold
is greater than zero. This is also the amount by which the server increases the delay for additional successive failures once it begins delaying.For information about how
connection_control_min_connection_delay
interacts with other connection-control system and status variables, see Section 6.5.2.1, “Connection-Control Plugin Installation”.
If the CONNECTION_CONTROL
plugin is
installed, it exposes this status variable:
Connection_control_delay_generated
The number of times the server added a delay to its response to a failed connection attempt. This does not count attempts that occur before reaching the threshold defined by the
connection_control_failed_connections_threshold
system variable.This variable provides a simple counter. For more detailed connection-control monitoring information, examine the
INFORMATION_SCHEMA
CONNECTION_CONTROL_FAILED_LOGIN_ATTEMPTS
table; see Section 25.40.1, “The INFORMATION_SCHEMA CONNECTION_CONTROL_FAILED_LOGIN_ATTEMPTS Table”.Assigning a value to
connection_control_failed_connections_threshold
at runtime resetsConnection_control_delay_generated
to zero.
Traduction non disponible
Le manuel MySQL n'est pas encore traduit en français sur l'infobrol. Seule la version anglaise est disponible pour l'instant.
Document créé le 26/06/2006, dernière modification le 26/10/2018
Source du document imprimé : https://www.gaudry.be/mysql-rf-connection-control-variables.html
L'infobrol est un site personnel dont le contenu n'engage que moi. Le texte est mis à disposition sous licence CreativeCommons(BY-NC-SA). Plus d'info sur les conditions d'utilisation et sur l'auteur.
Références
Ces références et liens indiquent des documents consultés lors de la rédaction de cette page, ou qui peuvent apporter un complément d'information, mais les auteurs de ces sources ne peuvent être tenus responsables du contenu de cette page.
L'auteur de ce site est seul responsable de la manière dont sont présentés ici les différents concepts, et des libertés qui sont prises avec les ouvrages de référence. N'oubliez pas que vous devez croiser les informations de sources multiples afin de diminuer les risques d'erreurs.