Debian Codegraph @

mysql-test/suite/perfschema/r/hostcache_ipv4_addrinfo_good_allow.result

raw
1 call mtr.add_suppression("192.0.2.4");
2 flush status;
3 TRUNCATE TABLE performance_schema.host_cache;
4 flush user_resources;
5 flush privileges;
6 select @@global.debug;
7 @@global.debug
8
9 select @@global.max_connect_errors;
10 @@global.max_connect_errors
11 100
12 select @@global.max_user_connections;
13 @@global.max_user_connections
14 0
15 select @@global.max_connections;
16 @@global.max_connections
17 151
18 select `User`, `Host` from mysql.`user` where `host` like '%\\%%';
19 User Host
20 select `User`, `Host` from mysql.`user` where `user` like '192.%';
21 User Host
22 select `User`, `Host` from mysql.`user` where `user` like '2001:%';
23 User Host
24 select `User`, `Host` from mysql.`user` where `user` like 'santa.claus.%';
25 User Host
26 create user 'root'@'santa.claus.ipv4.example.com';
27 grant select on test.* to 'root'@'santa.claus.ipv4.example.com';
28 select "Con1 is alive";
29 Con1 is alive
30 Con1 is alive
31 select current_user();
32 current_user()
33 root@localhost
34 set global debug= "+d,vio_peer_addr_fake_ipv4,getnameinfo_fake_ipv4,getaddrinfo_fake_good_ipv4";
35 select "Con2 is alive";
36 Con2 is alive
37 Con2 is alive
38 select current_user();
39 current_user()
40 [email protected]
41 "Dumping performance_schema.host_cache"
42 IP 192.0.2.4
43 HOST santa.claus.ipv4.example.com
44 HOST_VALIDATED YES
45 SUM_CONNECT_ERRORS 0
46 COUNT_HOST_BLOCKED_ERRORS 0
47 COUNT_NAMEINFO_TRANSIENT_ERRORS 0
48 COUNT_NAMEINFO_PERMANENT_ERRORS 0
49 COUNT_FORMAT_ERRORS 0
50 COUNT_ADDRINFO_TRANSIENT_ERRORS 0
51 COUNT_ADDRINFO_PERMANENT_ERRORS 0
52 COUNT_FCRDNS_ERRORS 0
53 COUNT_HOST_ACL_ERRORS 0
54 COUNT_NO_AUTH_PLUGIN_ERRORS 0
55 COUNT_AUTH_PLUGIN_ERRORS 0
56 COUNT_HANDSHAKE_ERRORS 0
57 COUNT_PROXY_USER_ERRORS 0
58 COUNT_PROXY_USER_ACL_ERRORS 0
59 COUNT_AUTHENTICATION_ERRORS 0
60 COUNT_SSL_ERRORS 0
61 COUNT_MAX_USER_CONNECTIONS_ERRORS 0
62 COUNT_MAX_USER_CONNECTIONS_PER_HOUR_ERRORS 0
63 COUNT_DEFAULT_DATABASE_ERRORS 0
64 COUNT_INIT_CONNECT_ERRORS 0
65 COUNT_LOCAL_ERRORS 0
66 COUNT_UNKNOWN_ERRORS 0
67 FIRST_ERROR_SEEN null
68 LAST_ERROR_SEEN null
69 select "Con3 is alive";
70 Con3 is alive
71 Con3 is alive
72 select current_user();
73 current_user()
74 [email protected]
75 "Dumping performance_schema.host_cache"
76 IP 192.0.2.4
77 HOST santa.claus.ipv4.example.com
78 HOST_VALIDATED YES
79 SUM_CONNECT_ERRORS 0
80 COUNT_HOST_BLOCKED_ERRORS 0
81 COUNT_NAMEINFO_TRANSIENT_ERRORS 0
82 COUNT_NAMEINFO_PERMANENT_ERRORS 0
83 COUNT_FORMAT_ERRORS 0
84 COUNT_ADDRINFO_TRANSIENT_ERRORS 0
85 COUNT_ADDRINFO_PERMANENT_ERRORS 0
86 COUNT_FCRDNS_ERRORS 0
87 COUNT_HOST_ACL_ERRORS 0
88 COUNT_NO_AUTH_PLUGIN_ERRORS 0
89 COUNT_AUTH_PLUGIN_ERRORS 0
90 COUNT_HANDSHAKE_ERRORS 0
91 COUNT_PROXY_USER_ERRORS 0
92 COUNT_PROXY_USER_ACL_ERRORS 0
93 COUNT_AUTHENTICATION_ERRORS 0
94 COUNT_SSL_ERRORS 0
95 COUNT_MAX_USER_CONNECTIONS_ERRORS 0
96 COUNT_MAX_USER_CONNECTIONS_PER_HOUR_ERRORS 0
97 COUNT_DEFAULT_DATABASE_ERRORS 0
98 COUNT_INIT_CONNECT_ERRORS 0
99 COUNT_LOCAL_ERRORS 0
100 COUNT_UNKNOWN_ERRORS 0
101 FIRST_ERROR_SEEN null
102 LAST_ERROR_SEEN null
103 revoke select on test.* from 'root'@'santa.claus.ipv4.example.com';
104 drop user 'root'@'santa.claus.ipv4.example.com';
105 set global debug= default;