@@ -24,7 +24,23 @@ root@santa.claus.ipv4.example.com
24
24
show global status like "%peer%";
25
25
Variable_name Value
26
26
Peer_address_errors 0
27
- select * from performance_schema.host_cache;
27
+ select
28
+ IP, HOST, HOST_VALIDATED, SUM_BLOCKING_ERRORS,
29
+ COUNT_NAMEINFO_TRANSIENT_ERRORS,
30
+ COUNT_NAMEINFO_PERMANENT_ERRORS,
31
+ COUNT_FORMAT_ERRORS,
32
+ COUNT_ADDRINFO_TRANSIENT_ERRORS,
33
+ COUNT_ADDRINFO_PERMANENT_ERRORS,
34
+ COUNT_FCRDNS_ERRORS,
35
+ COUNT_HOST_ACL_ERRORS,
36
+ COUNT_HANDSHAKE_ERRORS,
37
+ COUNT_AUTHENTICATION_ERRORS,
38
+ COUNT_USER_ACL_ERRORS,
39
+ COUNT_LOCAL_ERRORS,
40
+ COUNT_UNKNOWN_ERRORS,
41
+ if (FIRST_ERROR_SEEN is not null, "set", "null") as FIRST_ERROR_SEEN,
42
+ if (LAST_ERROR_SEEN is not null, "set", "null") as LAST_ERROR_SEEN
43
+ from performance_schema.host_cache;
28
44
IP 192.0.2.4
29
45
HOST santa.claus.ipv4.example.com
30
46
HOST_VALIDATED YES
@@ -41,6 +57,8 @@ COUNT_AUTHENTICATION_ERRORS 0
41
57
COUNT_USER_ACL_ERRORS 0
42
58
COUNT_LOCAL_ERRORS 0
43
59
COUNT_UNKNOWN_ERRORS 0
60
+ FIRST_ERROR_SEEN null
61
+ LAST_ERROR_SEEN null
44
62
select "Con3 is alive";
45
63
Con3 is alive
46
64
Con3 is alive
@@ -50,7 +68,23 @@ root@santa.claus.ipv4.example.com
50
68
show global status like "%peer%";
51
69
Variable_name Value
52
70
Peer_address_errors 0
53
- select * from performance_schema.host_cache;
71
+ select
72
+ IP, HOST, HOST_VALIDATED, SUM_BLOCKING_ERRORS,
73
+ COUNT_NAMEINFO_TRANSIENT_ERRORS,
74
+ COUNT_NAMEINFO_PERMANENT_ERRORS,
75
+ COUNT_FORMAT_ERRORS,
76
+ COUNT_ADDRINFO_TRANSIENT_ERRORS,
77
+ COUNT_ADDRINFO_PERMANENT_ERRORS,
78
+ COUNT_FCRDNS_ERRORS,
79
+ COUNT_HOST_ACL_ERRORS,
80
+ COUNT_HANDSHAKE_ERRORS,
81
+ COUNT_AUTHENTICATION_ERRORS,
82
+ COUNT_USER_ACL_ERRORS,
83
+ COUNT_LOCAL_ERRORS,
84
+ COUNT_UNKNOWN_ERRORS,
85
+ if (FIRST_ERROR_SEEN is not null, "set", "null") as FIRST_ERROR_SEEN,
86
+ if (LAST_ERROR_SEEN is not null, "set", "null") as LAST_ERROR_SEEN
87
+ from performance_schema.host_cache;
54
88
IP 192.0.2.4
55
89
HOST santa.claus.ipv4.example.com
56
90
HOST_VALIDATED YES
@@ -67,6 +101,8 @@ COUNT_AUTHENTICATION_ERRORS 0
67
101
COUNT_USER_ACL_ERRORS 0
68
102
COUNT_LOCAL_ERRORS 0
69
103
COUNT_UNKNOWN_ERRORS 0
104
+ FIRST_ERROR_SEEN null
105
+ LAST_ERROR_SEEN null
70
106
revoke select on test.* from 'root'@'santa.claus.ipv4.example.com';
71
107
drop user 'root'@'santa.claus.ipv4.example.com';
72
108
set global debug= default;
0 commit comments