This table provides information about the current number of consecutive failed connection attempts per client user/host combination. The table was added in MySQL 5.7.17.
has these columns:
The user/host combination of a client that has failed connection attempts, in
The current number of consecutive failed connection attempts for the
USERHOSTvalue. This counts all failed attempts, regardless of whether they were delayed. The number of attempts for which the server added a delay to its response is the difference between the
FAILED_ATTEMPTSvalue and the
connection_control_failed_connections_thresholdsystem variable value.
CONNECTION_CONTROL_FAILED_LOGIN_ATTEMPTSplugin must be activated for this table to be available, and the
CONNECTION_CONTROLplugin must be activated or the table contents will always be empty. See Section 6.4.2, “The Connection-Control Plugins”.
The table contains rows only for clients that have had one or more consecutive failed connection attempts without a subsequent successful attempt. When a client connects successfully, its failed-connection count is reset to zero and the server removes any row corresponding to the client.
Assigning a value to the
connection_control_failed_connections_thresholdsystem variable at runtime resets all accumulated failed-connection counters to zero, which causes the table to become empty.