Debian Codegraph @

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

raw
1 call mtr.add_suppression("santa.claus.ipv6.example.com");
2 flush global status;
3 flush hosts;
4 flush user_resources;
5 flush privileges;
6 select `User`, `Host` from mysql.`user` where `host` like '%\\%%';
7 User Host
8 select `User`, `Host` from mysql.`user` where `user` like '192.%';
9 User Host
10 select `User`, `Host` from mysql.`user` where `user` like '2001:%';
11 User Host
12 select `User`, `Host` from mysql.`user` where `user` like 'santa.claus.%';
13 User Host
14 create user 'root'@'santa.claus.ipv6.example.com';
15 grant select on test.* to 'root'@'santa.claus.ipv6.example.com';
16 create user 'root'@'2001:db8::6:6';
17 grant select on test.* to 'root'@'2001:db8::6:6';
18 connect con1,"::1",root,,test,$MASTER_MYPORT,;
19 select "Con1 is alive";
20 Con1 is alive
21 Con1 is alive
22 select current_user();
23 current_user()
24 root@localhost
25 disconnect con1;
26 connection default;
27 SET @saved_dbug = @@GLOBAL.debug_dbug;
28 set global debug_dbug= "+d,vio_peer_addr_fake_ipv6,getnameinfo_fake_ipv6,getaddrinfo_error_noname";
29 connect con2,"::1",root,,test,$MASTER_MYPORT,;
30 select "Con2 is alive";
31 Con2 is alive
32 Con2 is alive
33 select current_user();
34 current_user()
35 root@2001:db8::6:6
36 disconnect con2;
37 connection default;
38 # Dumping performance_schema.host_cache
39 IP 2001:db8::6:6
40 HOST NULL
41 HOST_VALIDATED YES
42 SUM_CONNECT_ERRORS 0
43 COUNT_HOST_BLOCKED_ERRORS 0
44 COUNT_NAMEINFO_TRANSIENT_ERRORS 0
45 COUNT_NAMEINFO_PERMANENT_ERRORS 0
46 COUNT_FORMAT_ERRORS 0
47 COUNT_ADDRINFO_TRANSIENT_ERRORS 0
48 COUNT_ADDRINFO_PERMANENT_ERRORS 1
49 COUNT_FCRDNS_ERRORS 0
50 COUNT_HOST_ACL_ERRORS 0
51 COUNT_NO_AUTH_PLUGIN_ERRORS 0
52 COUNT_AUTH_PLUGIN_ERRORS 0
53 COUNT_HANDSHAKE_ERRORS 0
54 COUNT_PROXY_USER_ERRORS 0
55 COUNT_PROXY_USER_ACL_ERRORS 0
56 COUNT_AUTHENTICATION_ERRORS 0
57 COUNT_SSL_ERRORS 0
58 COUNT_MAX_USER_CONNECTIONS_ERRORS 0
59 COUNT_MAX_USER_CONNECTIONS_PER_HOUR_ERRORS 0
60 COUNT_DEFAULT_DATABASE_ERRORS 0
61 COUNT_INIT_CONNECT_ERRORS 0
62 COUNT_LOCAL_ERRORS 0
63 COUNT_UNKNOWN_ERRORS 0
64 FIRST_ERROR_SEEN set
65 LAST_ERROR_SEEN set
66 connect con3,"::1",root,,test,$MASTER_MYPORT,;
67 select "Con3 is alive";
68 Con3 is alive
69 Con3 is alive
70 select current_user();
71 current_user()
72 root@2001:db8::6:6
73 disconnect con3;
74 connection default;
75 # Dumping performance_schema.host_cache
76 IP 2001:db8::6:6
77 HOST NULL
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 1
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 set
102 LAST_ERROR_SEEN set
103 revoke select on test.* from 'root'@'santa.claus.ipv6.example.com';
104 revoke select on test.* from 'root'@'2001:db8::6:6';
105 drop user 'root'@'santa.claus.ipv6.example.com';
106 drop user 'root'@'2001:db8::6:6';
107 SET @@GLOBAL.debug_dbug = @saved_dbug;