mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-21360 global debug_dbug pre-test value restoration issues
This commit is contained in:
@ -22,7 +22,7 @@ current_user()
|
||||
root@localhost
|
||||
disconnect con1;
|
||||
connection default;
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv4,getnameinfo_fake_ipv4,getaddrinfo_error_again";
|
||||
connect con2,"127.0.0.1",root,,test,$MASTER_MYPORT,;
|
||||
select "Con2 is alive";
|
||||
@ -100,4 +100,4 @@ FIRST_ERROR_SEEN set
|
||||
LAST_ERROR_SEEN set
|
||||
revoke select on test.* from 'root'@'192.0.2.4';
|
||||
drop user 'root'@'192.0.2.4';
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
@ -20,7 +20,7 @@ current_user()
|
||||
root@localhost
|
||||
disconnect con1;
|
||||
connection default;
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv4,getnameinfo_fake_ipv4,getaddrinfo_error_again";
|
||||
ERROR HY000: Host '192.0.2.4' is not allowed to connect to this MariaDB server
|
||||
connection default;
|
||||
@ -82,4 +82,4 @@ COUNT_LOCAL_ERRORS 0
|
||||
COUNT_UNKNOWN_ERRORS 0
|
||||
FIRST_ERROR_SEEN set
|
||||
LAST_ERROR_SEEN set
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
@ -22,7 +22,7 @@ current_user()
|
||||
root@localhost
|
||||
disconnect con1;
|
||||
connection default;
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv4,getnameinfo_fake_ipv4,getaddrinfo_fake_bad_ipv4";
|
||||
connect con2,"127.0.0.1",root,,test,$MASTER_MYPORT,;
|
||||
select "Con2 is alive";
|
||||
@ -100,4 +100,4 @@ FIRST_ERROR_SEEN set
|
||||
LAST_ERROR_SEEN set
|
||||
revoke select on test.* from 'root'@'192.0.2.4';
|
||||
drop user 'root'@'192.0.2.4';
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
@ -20,7 +20,7 @@ current_user()
|
||||
root@localhost
|
||||
disconnect con1;
|
||||
connection default;
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv4,getnameinfo_fake_ipv4,getaddrinfo_fake_bad_ipv4";
|
||||
ERROR HY000: Host '192.0.2.4' is not allowed to connect to this MariaDB server
|
||||
connection default;
|
||||
@ -82,4 +82,4 @@ COUNT_LOCAL_ERRORS 0
|
||||
COUNT_UNKNOWN_ERRORS 0
|
||||
FIRST_ERROR_SEEN set
|
||||
LAST_ERROR_SEEN set
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
@ -22,7 +22,7 @@ current_user()
|
||||
root@localhost
|
||||
disconnect con1;
|
||||
connection default;
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv4,getnameinfo_fake_ipv4,getaddrinfo_fake_good_ipv4";
|
||||
connect con2,"127.0.0.1",root,,test,$MASTER_MYPORT,;
|
||||
select "Con2 is alive";
|
||||
@ -100,4 +100,4 @@ FIRST_ERROR_SEEN null
|
||||
LAST_ERROR_SEEN null
|
||||
revoke select on test.* from 'root'@'santa.claus.ipv4.example.com';
|
||||
drop user 'root'@'santa.claus.ipv4.example.com';
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
@ -20,7 +20,7 @@ current_user()
|
||||
root@localhost
|
||||
disconnect con1;
|
||||
connection default;
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv4,getnameinfo_fake_ipv4,getaddrinfo_fake_good_ipv4";
|
||||
ERROR HY000: Host 'santa.claus.ipv4.example.com' is not allowed to connect to this MariaDB server
|
||||
connection default;
|
||||
@ -82,4 +82,4 @@ COUNT_LOCAL_ERRORS 0
|
||||
COUNT_UNKNOWN_ERRORS 0
|
||||
FIRST_ERROR_SEEN set
|
||||
LAST_ERROR_SEEN set
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
@ -24,7 +24,7 @@ current_user()
|
||||
root@localhost
|
||||
disconnect con1;
|
||||
connection default;
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv4,getnameinfo_fake_ipv4,getaddrinfo_error_noname";
|
||||
connect con2,"127.0.0.1",root,,test,$MASTER_MYPORT,;
|
||||
select "Con2 is alive";
|
||||
@ -104,4 +104,4 @@ revoke select on test.* from 'root'@'santa.claus.ipv4.example.com';
|
||||
revoke select on test.* from 'root'@'192.0.2.4';
|
||||
drop user 'root'@'santa.claus.ipv4.example.com';
|
||||
drop user 'root'@'192.0.2.4';
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
@ -20,7 +20,7 @@ current_user()
|
||||
root@localhost
|
||||
disconnect con1;
|
||||
connection default;
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv4,getnameinfo_fake_ipv4,getaddrinfo_error_noname";
|
||||
ERROR HY000: Host '192.0.2.4' is not allowed to connect to this MariaDB server
|
||||
connection default;
|
||||
@ -82,4 +82,4 @@ COUNT_LOCAL_ERRORS 0
|
||||
COUNT_UNKNOWN_ERRORS 0
|
||||
FIRST_ERROR_SEEN set
|
||||
LAST_ERROR_SEEN set
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
@ -24,7 +24,7 @@ current_user()
|
||||
root@localhost
|
||||
disconnect con1;
|
||||
connection default;
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv4,getnameinfo_fake_ipv4,getaddrinfo_fake_good_ipv4";
|
||||
uninstall plugin test_plugin_server;
|
||||
ERROR HY000: Plugin 'test_plugin_server' is not loaded
|
||||
@ -195,5 +195,5 @@ REVOKE PROXY ON 'plug_dest'@'santa.claus.ipv4.example.com'
|
||||
FROM 'plug'@'santa.claus.ipv4.example.com';
|
||||
DROP USER 'plug'@'santa.claus.ipv4.example.com';
|
||||
DROP USER 'plug_dest'@'santa.claus.ipv4.example.com';
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
delete from mysql.plugin where name='test_plugin_server';
|
||||
|
@ -25,7 +25,7 @@ current_user()
|
||||
root@localhost
|
||||
disconnect con1;
|
||||
connection default;
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv4,getnameinfo_fake_ipv4,getaddrinfo_fake_good_ipv4,native_password_bad_reply";
|
||||
ERROR 08S01: Bad handshake
|
||||
connection default;
|
||||
@ -428,4 +428,4 @@ drop user 'root'@'santa.claus.ipv4.example.com';
|
||||
revoke select on test.* from 'quota'@'santa.claus.ipv4.example.com';
|
||||
drop user 'quota'@'santa.claus.ipv4.example.com';
|
||||
set global max_connect_errors = @saved_max_connect_errors;
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
@ -20,7 +20,7 @@ current_user()
|
||||
root@localhost
|
||||
disconnect con1;
|
||||
connection default;
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv4,getnameinfo_format_ipv4";
|
||||
ERROR HY000: Host '192.0.2.4' is not allowed to connect to this MariaDB server
|
||||
connection default;
|
||||
@ -82,4 +82,4 @@ COUNT_LOCAL_ERRORS 0
|
||||
COUNT_UNKNOWN_ERRORS 0
|
||||
FIRST_ERROR_SEEN set
|
||||
LAST_ERROR_SEEN set
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
@ -25,7 +25,7 @@ current_user()
|
||||
root@localhost
|
||||
disconnect con1;
|
||||
connection default;
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv4,getnameinfo_fake_ipv4,getaddrinfo_fake_good_ipv4";
|
||||
connect con2a,"127.0.0.1",quota,,test,$MASTER_MYPORT,;
|
||||
select "Con2a is alive";
|
||||
@ -703,4 +703,4 @@ disconnect tmp_con7;
|
||||
set global max_connections = @saved_max_connections;
|
||||
set global max_user_connections = @saved_max_user_connections;
|
||||
drop user 'quota'@'santa.claus.ipv4.example.com';
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
@ -24,7 +24,7 @@ current_user()
|
||||
root@localhost
|
||||
disconnect con1;
|
||||
connection default;
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv4,getnameinfo_error_again";
|
||||
connect con2,"127.0.0.1",root,,test,$MASTER_MYPORT,;
|
||||
select "Con2 is alive";
|
||||
@ -179,4 +179,4 @@ revoke select on test.* from 'root'@'192.0.2.4';
|
||||
revoke select on test.* from 'root'@'santa.claus.ipv4.example.com';
|
||||
drop user 'root'@'192.0.2.4';
|
||||
drop user 'root'@'santa.claus.ipv4.example.com';
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
@ -20,7 +20,7 @@ current_user()
|
||||
root@localhost
|
||||
disconnect con1;
|
||||
connection default;
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv4,getnameinfo_error_again";
|
||||
ERROR HY000: Host '192.0.2.4' is not allowed to connect to this MariaDB server
|
||||
connection default;
|
||||
@ -143,4 +143,4 @@ COUNT_LOCAL_ERRORS 0
|
||||
COUNT_UNKNOWN_ERRORS 0
|
||||
FIRST_ERROR_SEEN set
|
||||
LAST_ERROR_SEEN set
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
@ -22,7 +22,7 @@ current_user()
|
||||
root@localhost
|
||||
disconnect con1;
|
||||
connection default;
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv4,getnameinfo_error_noname";
|
||||
connect con2,"127.0.0.1",root,,test,$MASTER_MYPORT,;
|
||||
select "Con2 is alive";
|
||||
@ -100,4 +100,4 @@ FIRST_ERROR_SEEN set
|
||||
LAST_ERROR_SEEN set
|
||||
revoke select on test.* from 'root'@'192.0.2.4';
|
||||
drop user 'root'@'192.0.2.4';
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
@ -20,7 +20,7 @@ current_user()
|
||||
root@localhost
|
||||
disconnect con1;
|
||||
connection default;
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv4,getnameinfo_error_noname";
|
||||
ERROR HY000: Host '192.0.2.4' is not allowed to connect to this MariaDB server
|
||||
connection default;
|
||||
@ -82,4 +82,4 @@ COUNT_LOCAL_ERRORS 0
|
||||
COUNT_UNKNOWN_ERRORS 0
|
||||
FIRST_ERROR_SEEN set
|
||||
LAST_ERROR_SEEN set
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
@ -24,7 +24,7 @@ current_user()
|
||||
root@localhost
|
||||
disconnect con1;
|
||||
connection default;
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv4,getnameinfo_fake_ipv4,getaddrinfo_fake_good_ipv4";
|
||||
ERROR 28000: Access denied for user 'user_without'@'santa.claus.ipv4.example.com' (using password: YES)
|
||||
connection default;
|
||||
@ -208,4 +208,4 @@ FIRST_ERROR_SEEN set
|
||||
LAST_ERROR_SEEN set
|
||||
drop user 'user_with'@'santa.claus.ipv4.example.com';
|
||||
drop user 'user_without'@'santa.claus.ipv4.example.com';
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
@ -28,7 +28,7 @@ current_user()
|
||||
root@localhost
|
||||
disconnect con1;
|
||||
connection default;
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv4,getnameinfo_fake_ipv4,getaddrinfo_fake_good_ipv4";
|
||||
ERROR 28000: Access denied for user 'user_ssl'@'santa.claus.ipv4.example.com' (using password: NO)
|
||||
connection default;
|
||||
@ -152,4 +152,4 @@ FIRST_ERROR_SEEN set
|
||||
LAST_ERROR_SEEN set
|
||||
drop user 'user_ssl'@'santa.claus.ipv4.example.com';
|
||||
drop user 'user_ssl_x509'@'santa.claus.ipv4.example.com';
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
@ -22,7 +22,7 @@ current_user()
|
||||
root@localhost
|
||||
disconnect con1;
|
||||
connection default;
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv6,getnameinfo_fake_ipv6,getaddrinfo_error_again";
|
||||
connect con2,"::1",root,,test,$MASTER_MYPORT,;
|
||||
select "Con2 is alive";
|
||||
@ -100,4 +100,4 @@ FIRST_ERROR_SEEN set
|
||||
LAST_ERROR_SEEN set
|
||||
revoke select on test.* from 'root'@'2001:db8::6:6';
|
||||
drop user 'root'@'2001:db8::6:6';
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
@ -20,7 +20,7 @@ current_user()
|
||||
root@localhost
|
||||
disconnect con1;
|
||||
connection default;
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv6,getnameinfo_fake_ipv6,getaddrinfo_error_again";
|
||||
ERROR HY000: Host '2001:db8::6:6' is not allowed to connect to this MariaDB server
|
||||
connection default;
|
||||
@ -82,4 +82,4 @@ COUNT_LOCAL_ERRORS 0
|
||||
COUNT_UNKNOWN_ERRORS 0
|
||||
FIRST_ERROR_SEEN set
|
||||
LAST_ERROR_SEEN set
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
@ -22,7 +22,7 @@ current_user()
|
||||
root@localhost
|
||||
disconnect con1;
|
||||
connection default;
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv6,getnameinfo_fake_ipv6,getaddrinfo_fake_bad_ipv6";
|
||||
connect con2,"::1",root,,test,$MASTER_MYPORT,;
|
||||
select "Con2 is alive";
|
||||
@ -100,4 +100,4 @@ FIRST_ERROR_SEEN set
|
||||
LAST_ERROR_SEEN set
|
||||
revoke select on test.* from 'root'@'2001:db8::6:6';
|
||||
drop user 'root'@'2001:db8::6:6';
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
@ -20,7 +20,7 @@ current_user()
|
||||
root@localhost
|
||||
disconnect con1;
|
||||
connection default;
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv6,getnameinfo_fake_ipv6,getaddrinfo_fake_bad_ipv6";
|
||||
ERROR HY000: Host '2001:db8::6:6' is not allowed to connect to this MariaDB server
|
||||
connection default;
|
||||
@ -82,4 +82,4 @@ COUNT_LOCAL_ERRORS 0
|
||||
COUNT_UNKNOWN_ERRORS 0
|
||||
FIRST_ERROR_SEEN set
|
||||
LAST_ERROR_SEEN set
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
@ -22,7 +22,7 @@ current_user()
|
||||
root@localhost
|
||||
disconnect con1;
|
||||
connection default;
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv6,getnameinfo_fake_ipv6,getaddrinfo_fake_good_ipv6";
|
||||
connect con2,"::1",root,,test,$MASTER_MYPORT,;
|
||||
select "Con2 is alive";
|
||||
@ -100,4 +100,4 @@ FIRST_ERROR_SEEN null
|
||||
LAST_ERROR_SEEN null
|
||||
revoke select on test.* from 'root'@'santa.claus.ipv6.example.com';
|
||||
drop user 'root'@'santa.claus.ipv6.example.com';
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
@ -19,7 +19,7 @@ current_user()
|
||||
root@localhost
|
||||
disconnect con1;
|
||||
connection default;
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv6,getnameinfo_fake_ipv6,getaddrinfo_fake_good_ipv6";
|
||||
ERROR HY000: Host 'santa.claus.ipv6.example.com' is not allowed to connect to this MariaDB server
|
||||
connection default;
|
||||
@ -81,4 +81,4 @@ COUNT_LOCAL_ERRORS 0
|
||||
COUNT_UNKNOWN_ERRORS 0
|
||||
FIRST_ERROR_SEEN set
|
||||
LAST_ERROR_SEEN set
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
@ -24,7 +24,7 @@ current_user()
|
||||
root@localhost
|
||||
disconnect con1;
|
||||
connection default;
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv6,getnameinfo_fake_ipv6,getaddrinfo_error_noname";
|
||||
connect con2,"::1",root,,test,$MASTER_MYPORT,;
|
||||
select "Con2 is alive";
|
||||
@ -104,4 +104,4 @@ revoke select on test.* from 'root'@'santa.claus.ipv6.example.com';
|
||||
revoke select on test.* from 'root'@'2001:db8::6:6';
|
||||
drop user 'root'@'santa.claus.ipv6.example.com';
|
||||
drop user 'root'@'2001:db8::6:6';
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
@ -20,7 +20,7 @@ current_user()
|
||||
root@localhost
|
||||
disconnect con1;
|
||||
connection default;
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv6,getnameinfo_fake_ipv6,getaddrinfo_error_noname";
|
||||
ERROR HY000: Host '2001:db8::6:6' is not allowed to connect to this MariaDB server
|
||||
connection default;
|
||||
@ -82,4 +82,4 @@ COUNT_LOCAL_ERRORS 0
|
||||
COUNT_UNKNOWN_ERRORS 0
|
||||
FIRST_ERROR_SEEN set
|
||||
LAST_ERROR_SEEN set
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
@ -24,7 +24,7 @@ current_user()
|
||||
root@localhost
|
||||
disconnect con1;
|
||||
connection default;
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv6,getnameinfo_fake_ipv6,getaddrinfo_fake_good_ipv6";
|
||||
uninstall plugin test_plugin_server;
|
||||
ERROR HY000: Plugin 'test_plugin_server' is not loaded
|
||||
@ -195,5 +195,5 @@ REVOKE PROXY ON 'plug_dest'@'santa.claus.ipv6.example.com'
|
||||
FROM 'plug'@'santa.claus.ipv6.example.com';
|
||||
DROP USER 'plug'@'santa.claus.ipv6.example.com';
|
||||
DROP USER 'plug_dest'@'santa.claus.ipv6.example.com';
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
delete from mysql.plugin where name='test_plugin_server';
|
||||
|
@ -25,7 +25,7 @@ current_user()
|
||||
root@localhost
|
||||
disconnect con1;
|
||||
connection default;
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv6,getnameinfo_fake_ipv6,getaddrinfo_fake_good_ipv6,native_password_bad_reply";
|
||||
ERROR 08S01: Bad handshake
|
||||
connection default;
|
||||
@ -428,4 +428,4 @@ drop user 'root'@'santa.claus.ipv6.example.com';
|
||||
revoke select on test.* from 'quota'@'santa.claus.ipv6.example.com';
|
||||
drop user 'quota'@'santa.claus.ipv6.example.com';
|
||||
set global max_connect_errors = @saved_max_connect_errors;
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
@ -25,7 +25,7 @@ current_user()
|
||||
root@localhost
|
||||
disconnect con1;
|
||||
connection default;
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv6,getnameinfo_fake_ipv6,getaddrinfo_fake_good_ipv6";
|
||||
connect con2a,"::1",quota,,test,$MASTER_MYPORT,;
|
||||
select "Con2a is alive";
|
||||
@ -703,4 +703,4 @@ disconnect tmp_con7;
|
||||
set global max_connections = @saved_max_connections;
|
||||
set global max_user_connections = @saved_max_user_connections;
|
||||
drop user 'quota'@'santa.claus.ipv6.example.com';
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
@ -24,7 +24,7 @@ current_user()
|
||||
root@localhost
|
||||
disconnect con1;
|
||||
connection default;
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv6,getnameinfo_error_again";
|
||||
connect con2,"::1",root,,test,$MASTER_MYPORT,;
|
||||
select "Con2 is alive";
|
||||
@ -179,4 +179,4 @@ revoke select on test.* from 'root'@'2001:db8::6:6';
|
||||
revoke select on test.* from 'root'@'santa.claus.ipv6.example.com';
|
||||
drop user 'root'@'2001:db8::6:6';
|
||||
drop user 'root'@'santa.claus.ipv6.example.com';
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
@ -20,7 +20,7 @@ current_user()
|
||||
root@localhost
|
||||
disconnect con1;
|
||||
connection default;
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv6,getnameinfo_error_again";
|
||||
ERROR HY000: Host '2001:db8::6:6' is not allowed to connect to this MariaDB server
|
||||
connection default;
|
||||
@ -143,4 +143,4 @@ COUNT_LOCAL_ERRORS 0
|
||||
COUNT_UNKNOWN_ERRORS 0
|
||||
FIRST_ERROR_SEEN set
|
||||
LAST_ERROR_SEEN set
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
@ -22,7 +22,7 @@ current_user()
|
||||
root@localhost
|
||||
disconnect con1;
|
||||
connection default;
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv6,getnameinfo_error_noname";
|
||||
connect con2,"::1",root,,test,$MASTER_MYPORT,;
|
||||
select "Con2 is alive";
|
||||
@ -100,4 +100,4 @@ FIRST_ERROR_SEEN set
|
||||
LAST_ERROR_SEEN set
|
||||
revoke select on test.* from 'root'@'2001:db8::6:6';
|
||||
drop user 'root'@'2001:db8::6:6';
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
@ -20,7 +20,7 @@ current_user()
|
||||
root@localhost
|
||||
disconnect con1;
|
||||
connection default;
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv6,getnameinfo_error_noname";
|
||||
ERROR HY000: Host '2001:db8::6:6' is not allowed to connect to this MariaDB server
|
||||
connection default;
|
||||
@ -82,4 +82,4 @@ COUNT_LOCAL_ERRORS 0
|
||||
COUNT_UNKNOWN_ERRORS 0
|
||||
FIRST_ERROR_SEEN set
|
||||
LAST_ERROR_SEEN set
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
@ -24,7 +24,7 @@ current_user()
|
||||
root@localhost
|
||||
disconnect con1;
|
||||
connection default;
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv6,getnameinfo_fake_ipv6,getaddrinfo_fake_good_ipv6";
|
||||
ERROR 28000: Access denied for user 'user_without'@'santa.claus.ipv6.example.com' (using password: YES)
|
||||
connection default;
|
||||
@ -208,4 +208,4 @@ FIRST_ERROR_SEEN set
|
||||
LAST_ERROR_SEEN set
|
||||
drop user 'user_with'@'santa.claus.ipv6.example.com';
|
||||
drop user 'user_without'@'santa.claus.ipv6.example.com';
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
@ -28,7 +28,7 @@ current_user()
|
||||
root@localhost
|
||||
disconnect con1;
|
||||
connection default;
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv6,getnameinfo_fake_ipv6,getaddrinfo_fake_good_ipv6";
|
||||
ERROR 28000: Access denied for user 'user_ssl'@'santa.claus.ipv6.example.com' (using password: NO)
|
||||
connection default;
|
||||
@ -152,4 +152,4 @@ FIRST_ERROR_SEEN set
|
||||
LAST_ERROR_SEEN set
|
||||
drop user 'user_ssl'@'santa.claus.ipv6.example.com';
|
||||
drop user 'user_ssl_x509'@'santa.claus.ipv6.example.com';
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
@ -27,7 +27,7 @@ current_user()
|
||||
root@localhost
|
||||
disconnect con1;
|
||||
connection default;
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_error";
|
||||
ERROR HY000: Can't get hostname for your address
|
||||
connection default;
|
||||
@ -51,7 +51,7 @@ Connection_errors_peer_address 2
|
||||
Connection_errors_select 0
|
||||
Connection_errors_tcpwrap 0
|
||||
"Dumping performance_schema.host_cache"
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
flush status;
|
||||
show global status like "connection_errors_%";
|
||||
Variable_name Value
|
||||
|
@ -27,7 +27,7 @@ select current_user();
|
||||
disconnect con1;
|
||||
|
||||
--connection default
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv4,getnameinfo_fake_ipv4,getaddrinfo_error_again";
|
||||
|
||||
connect (con2,"127.0.0.1",root,,test,$MASTER_MYPORT,);
|
||||
@ -49,5 +49,5 @@ disconnect con3;
|
||||
revoke select on test.* from 'root'@'192.0.2.4';
|
||||
drop user 'root'@'192.0.2.4';
|
||||
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
||||
|
@ -25,7 +25,7 @@ select current_user();
|
||||
disconnect con1;
|
||||
|
||||
--connection default
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv4,getnameinfo_fake_ipv4,getaddrinfo_error_again";
|
||||
|
||||
--disable_query_log
|
||||
@ -44,5 +44,5 @@ connect (con3,"127.0.0.1",root,,test,$MASTER_MYPORT,);
|
||||
--connection default
|
||||
--source ../include/hostcache_dump.inc
|
||||
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
||||
|
@ -30,7 +30,7 @@ select current_user();
|
||||
disconnect con1;
|
||||
|
||||
--connection default
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv4,getnameinfo_fake_ipv4,getaddrinfo_fake_bad_ipv4";
|
||||
|
||||
connect (con2,"127.0.0.1",root,,test,$MASTER_MYPORT,);
|
||||
@ -52,5 +52,5 @@ disconnect con3;
|
||||
revoke select on test.* from 'root'@'192.0.2.4';
|
||||
drop user 'root'@'192.0.2.4';
|
||||
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
||||
|
@ -27,7 +27,7 @@ select current_user();
|
||||
disconnect con1;
|
||||
|
||||
--connection default
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv4,getnameinfo_fake_ipv4,getaddrinfo_fake_bad_ipv4";
|
||||
|
||||
--disable_query_log
|
||||
@ -46,5 +46,5 @@ connect (con3,"127.0.0.1",root,,test,$MASTER_MYPORT,);
|
||||
--connection default
|
||||
--source ../include/hostcache_dump.inc
|
||||
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
||||
|
@ -28,7 +28,7 @@ select current_user();
|
||||
disconnect con1;
|
||||
|
||||
--connection default
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv4,getnameinfo_fake_ipv4,getaddrinfo_fake_good_ipv4";
|
||||
|
||||
connect (con2,"127.0.0.1",root,,test,$MASTER_MYPORT,);
|
||||
@ -50,5 +50,5 @@ disconnect con3;
|
||||
revoke select on test.* from 'root'@'santa.claus.ipv4.example.com';
|
||||
drop user 'root'@'santa.claus.ipv4.example.com';
|
||||
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
||||
|
@ -25,7 +25,7 @@ select current_user();
|
||||
disconnect con1;
|
||||
|
||||
--connection default
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv4,getnameinfo_fake_ipv4,getaddrinfo_fake_good_ipv4";
|
||||
|
||||
--disable_query_log
|
||||
@ -44,5 +44,5 @@ connect (con3,"127.0.0.1",root,,test,$MASTER_MYPORT,);
|
||||
--connection default
|
||||
--source ../include/hostcache_dump.inc
|
||||
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
||||
|
@ -30,7 +30,7 @@ select current_user();
|
||||
disconnect con1;
|
||||
|
||||
--connection default
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv4,getnameinfo_fake_ipv4,getaddrinfo_error_noname";
|
||||
|
||||
connect (con2,"127.0.0.1",root,,test,$MASTER_MYPORT,);
|
||||
@ -54,5 +54,5 @@ revoke select on test.* from 'root'@'192.0.2.4';
|
||||
drop user 'root'@'santa.claus.ipv4.example.com';
|
||||
drop user 'root'@'192.0.2.4';
|
||||
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
||||
|
@ -25,7 +25,7 @@ select current_user();
|
||||
disconnect con1;
|
||||
|
||||
--connection default
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv4,getnameinfo_fake_ipv4,getaddrinfo_error_noname";
|
||||
|
||||
--disable_query_log
|
||||
@ -44,5 +44,5 @@ connect (con3,"127.0.0.1",root,,test,$MASTER_MYPORT,);
|
||||
--connection default
|
||||
--source ../include/hostcache_dump.inc
|
||||
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
||||
|
@ -30,7 +30,7 @@ select current_user();
|
||||
disconnect con1;
|
||||
|
||||
--connection default
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv4,getnameinfo_fake_ipv4,getaddrinfo_fake_good_ipv4";
|
||||
uninstall plugin test_plugin_server;
|
||||
|
||||
@ -87,6 +87,6 @@ REVOKE PROXY ON 'plug_dest'@'santa.claus.ipv4.example.com'
|
||||
DROP USER 'plug'@'santa.claus.ipv4.example.com';
|
||||
DROP USER 'plug_dest'@'santa.claus.ipv4.example.com';
|
||||
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
delete from mysql.plugin where name='test_plugin_server';
|
||||
|
||||
|
@ -33,7 +33,7 @@ select current_user();
|
||||
disconnect con1;
|
||||
|
||||
--connection default
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv4,getnameinfo_fake_ipv4,getaddrinfo_fake_good_ipv4,native_password_bad_reply";
|
||||
|
||||
--disable_query_log
|
||||
@ -157,5 +157,5 @@ revoke select on test.* from 'quota'@'santa.claus.ipv4.example.com';
|
||||
drop user 'quota'@'santa.claus.ipv4.example.com';
|
||||
|
||||
set global max_connect_errors = @saved_max_connect_errors;
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
||||
|
@ -24,7 +24,7 @@ select current_user();
|
||||
disconnect con1;
|
||||
|
||||
--connection default
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv4,getnameinfo_format_ipv4";
|
||||
|
||||
--disable_query_log
|
||||
@ -43,5 +43,5 @@ connect (con3,"127.0.0.1",root,,test,$MASTER_MYPORT,);
|
||||
--connection default
|
||||
--source ../include/hostcache_dump.inc
|
||||
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
||||
|
@ -31,7 +31,7 @@ select current_user();
|
||||
disconnect con1;
|
||||
|
||||
--connection default
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv4,getnameinfo_fake_ipv4,getaddrinfo_fake_good_ipv4";
|
||||
|
||||
connect (con2a,"127.0.0.1",quota,,test,$MASTER_MYPORT,);
|
||||
@ -260,5 +260,5 @@ set global max_user_connections = @saved_max_user_connections;
|
||||
# revoke all privileges on test.* from 'quota'@'santa.claus.ipv4.example.com';
|
||||
drop user 'quota'@'santa.claus.ipv4.example.com';
|
||||
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
||||
|
@ -30,7 +30,7 @@ select current_user();
|
||||
disconnect con1;
|
||||
|
||||
--connection default
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv4,getnameinfo_error_again";
|
||||
|
||||
connect (con2,"127.0.0.1",root,,test,$MASTER_MYPORT,);
|
||||
@ -72,5 +72,5 @@ revoke select on test.* from 'root'@'santa.claus.ipv4.example.com';
|
||||
drop user 'root'@'192.0.2.4';
|
||||
drop user 'root'@'santa.claus.ipv4.example.com';
|
||||
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
||||
|
@ -25,7 +25,7 @@ select current_user();
|
||||
disconnect con1;
|
||||
|
||||
--connection default
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv4,getnameinfo_error_again";
|
||||
|
||||
--disable_query_log
|
||||
@ -62,5 +62,5 @@ connect (con5,"127.0.0.1",root,,test,$MASTER_MYPORT,);
|
||||
--connection default
|
||||
--source ../include/hostcache_dump.inc
|
||||
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
||||
|
@ -28,7 +28,7 @@ select current_user();
|
||||
disconnect con1;
|
||||
|
||||
--connection default
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv4,getnameinfo_error_noname";
|
||||
|
||||
connect (con2,"127.0.0.1",root,,test,$MASTER_MYPORT,);
|
||||
@ -50,5 +50,5 @@ disconnect con3;
|
||||
revoke select on test.* from 'root'@'192.0.2.4';
|
||||
drop user 'root'@'192.0.2.4';
|
||||
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
||||
|
@ -25,7 +25,7 @@ select current_user();
|
||||
disconnect con1;
|
||||
|
||||
--connection default
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv4,getnameinfo_error_noname";
|
||||
|
||||
--disable_query_log
|
||||
@ -44,5 +44,5 @@ connect (con3,"127.0.0.1",root,,test,$MASTER_MYPORT,);
|
||||
--connection default
|
||||
--source ../include/hostcache_dump.inc
|
||||
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
||||
|
@ -29,7 +29,7 @@ select current_user();
|
||||
disconnect con1;
|
||||
|
||||
--connection default
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv4,getnameinfo_fake_ipv4,getaddrinfo_fake_good_ipv4";
|
||||
|
||||
--disable_query_log
|
||||
@ -83,5 +83,5 @@ connect (con2f,"127.0.0.1",user_with,wrong_password,test,$MASTER_MYPORT,);
|
||||
drop user 'user_with'@'santa.claus.ipv4.example.com';
|
||||
drop user 'user_without'@'santa.claus.ipv4.example.com';
|
||||
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
||||
|
@ -30,7 +30,7 @@ select current_user();
|
||||
disconnect con1;
|
||||
|
||||
--connection default
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv4,getnameinfo_fake_ipv4,getaddrinfo_fake_good_ipv4";
|
||||
|
||||
--disable_query_log
|
||||
@ -68,5 +68,5 @@ connect (con2d,"127.0.0.1",user_ssl_x509,good_password,test,$MASTER_MYPORT,,SSL)
|
||||
drop user 'user_ssl'@'santa.claus.ipv4.example.com';
|
||||
drop user 'user_ssl_x509'@'santa.claus.ipv4.example.com';
|
||||
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
||||
|
@ -29,7 +29,7 @@ select current_user();
|
||||
disconnect con1;
|
||||
|
||||
--connection default
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv6,getnameinfo_fake_ipv6,getaddrinfo_error_again";
|
||||
|
||||
connect (con2,"::1",root,,test,$MASTER_MYPORT,);
|
||||
@ -51,5 +51,5 @@ disconnect con3;
|
||||
revoke select on test.* from 'root'@'2001:db8::6:6';
|
||||
drop user 'root'@'2001:db8::6:6';
|
||||
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
||||
|
@ -26,7 +26,7 @@ select current_user();
|
||||
disconnect con1;
|
||||
|
||||
--connection default
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv6,getnameinfo_fake_ipv6,getaddrinfo_error_again";
|
||||
|
||||
--disable_query_log
|
||||
@ -45,5 +45,5 @@ connect (con3,"::1",root,,test,$MASTER_MYPORT,);
|
||||
--connection default
|
||||
--source ../include/hostcache_dump.inc
|
||||
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
||||
|
@ -31,7 +31,7 @@ select current_user();
|
||||
disconnect con1;
|
||||
|
||||
--connection default
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv6,getnameinfo_fake_ipv6,getaddrinfo_fake_bad_ipv6";
|
||||
|
||||
connect (con2,"::1",root,,test,$MASTER_MYPORT,);
|
||||
@ -53,5 +53,5 @@ disconnect con3;
|
||||
revoke select on test.* from 'root'@'2001:db8::6:6';
|
||||
drop user 'root'@'2001:db8::6:6';
|
||||
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
||||
|
@ -28,7 +28,7 @@ select current_user();
|
||||
disconnect con1;
|
||||
|
||||
--connection default
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv6,getnameinfo_fake_ipv6,getaddrinfo_fake_bad_ipv6";
|
||||
|
||||
--disable_query_log
|
||||
@ -47,5 +47,5 @@ connect (con3,"::1",root,,test,$MASTER_MYPORT,);
|
||||
--connection default
|
||||
--source ../include/hostcache_dump.inc
|
||||
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
||||
|
@ -29,7 +29,7 @@ select current_user();
|
||||
disconnect con1;
|
||||
|
||||
--connection default
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv6,getnameinfo_fake_ipv6,getaddrinfo_fake_good_ipv6";
|
||||
|
||||
connect (con2,"::1",root,,test,$MASTER_MYPORT,);
|
||||
@ -51,5 +51,5 @@ disconnect con3;
|
||||
revoke select on test.* from 'root'@'santa.claus.ipv6.example.com';
|
||||
drop user 'root'@'santa.claus.ipv6.example.com';
|
||||
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
||||
|
@ -22,7 +22,7 @@ select current_user();
|
||||
disconnect con1;
|
||||
|
||||
--connection default
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv6,getnameinfo_fake_ipv6,getaddrinfo_fake_good_ipv6";
|
||||
|
||||
--disable_query_log
|
||||
@ -41,5 +41,5 @@ connect (con3,"::1",root,,test,$MASTER_MYPORT,);
|
||||
--connection default
|
||||
--source ../include/hostcache_dump.inc
|
||||
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
||||
|
@ -31,7 +31,7 @@ select current_user();
|
||||
disconnect con1;
|
||||
|
||||
--connection default
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv6,getnameinfo_fake_ipv6,getaddrinfo_error_noname";
|
||||
|
||||
connect (con2,"::1",root,,test,$MASTER_MYPORT,);
|
||||
@ -55,4 +55,4 @@ revoke select on test.* from 'root'@'2001:db8::6:6';
|
||||
drop user 'root'@'santa.claus.ipv6.example.com';
|
||||
drop user 'root'@'2001:db8::6:6';
|
||||
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
@ -26,7 +26,7 @@ select current_user();
|
||||
disconnect con1;
|
||||
|
||||
--connection default
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv6,getnameinfo_fake_ipv6,getaddrinfo_error_noname";
|
||||
|
||||
--disable_query_log
|
||||
@ -45,4 +45,4 @@ connect (con3,"::1",root,,test,$MASTER_MYPORT,);
|
||||
--connection default
|
||||
--source ../include/hostcache_dump.inc
|
||||
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
@ -31,7 +31,7 @@ select current_user();
|
||||
disconnect con1;
|
||||
|
||||
--connection default
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv6,getnameinfo_fake_ipv6,getaddrinfo_fake_good_ipv6";
|
||||
uninstall plugin test_plugin_server;
|
||||
|
||||
@ -88,6 +88,6 @@ REVOKE PROXY ON 'plug_dest'@'santa.claus.ipv6.example.com'
|
||||
DROP USER 'plug'@'santa.claus.ipv6.example.com';
|
||||
DROP USER 'plug_dest'@'santa.claus.ipv6.example.com';
|
||||
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
delete from mysql.plugin where name='test_plugin_server';
|
||||
|
||||
|
@ -33,7 +33,7 @@ select current_user();
|
||||
disconnect con1;
|
||||
|
||||
--connection default
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv6,getnameinfo_fake_ipv6,getaddrinfo_fake_good_ipv6,native_password_bad_reply";
|
||||
|
||||
--disable_query_log
|
||||
@ -157,5 +157,5 @@ revoke select on test.* from 'quota'@'santa.claus.ipv6.example.com';
|
||||
drop user 'quota'@'santa.claus.ipv6.example.com';
|
||||
|
||||
set global max_connect_errors = @saved_max_connect_errors;
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
||||
|
@ -32,7 +32,7 @@ select current_user();
|
||||
disconnect con1;
|
||||
|
||||
--connection default
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv6,getnameinfo_fake_ipv6,getaddrinfo_fake_good_ipv6";
|
||||
|
||||
connect (con2a,"::1",quota,,test,$MASTER_MYPORT,);
|
||||
@ -242,5 +242,5 @@ set global max_user_connections = @saved_max_user_connections;
|
||||
# revoke all privileges on test.* from 'quota'@'santa.claus.ipv6.example.com';
|
||||
drop user 'quota'@'santa.claus.ipv6.example.com';
|
||||
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
||||
|
@ -31,7 +31,7 @@ select current_user();
|
||||
disconnect con1;
|
||||
|
||||
--connection default
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv6,getnameinfo_error_again";
|
||||
|
||||
connect (con2,"::1",root,,test,$MASTER_MYPORT,);
|
||||
@ -73,5 +73,5 @@ revoke select on test.* from 'root'@'santa.claus.ipv6.example.com';
|
||||
drop user 'root'@'2001:db8::6:6';
|
||||
drop user 'root'@'santa.claus.ipv6.example.com';
|
||||
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
||||
|
@ -26,7 +26,7 @@ select current_user();
|
||||
disconnect con1;
|
||||
|
||||
--connection default
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv6,getnameinfo_error_again";
|
||||
|
||||
--disable_query_log
|
||||
@ -63,5 +63,5 @@ connect (con5,"::1",root,,test,$MASTER_MYPORT,);
|
||||
--connection default
|
||||
--source ../include/hostcache_dump.inc
|
||||
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
||||
|
@ -29,7 +29,7 @@ select current_user();
|
||||
disconnect con1;
|
||||
|
||||
--connection default
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv6,getnameinfo_error_noname";
|
||||
|
||||
connect (con2,"::1",root,,test,$MASTER_MYPORT,);
|
||||
@ -51,5 +51,5 @@ disconnect con3;
|
||||
revoke select on test.* from 'root'@'2001:db8::6:6';
|
||||
drop user 'root'@'2001:db8::6:6';
|
||||
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
||||
|
@ -26,7 +26,7 @@ select current_user();
|
||||
disconnect con1;
|
||||
|
||||
--connection default
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv6,getnameinfo_error_noname";
|
||||
|
||||
--disable_query_log
|
||||
@ -45,5 +45,5 @@ connect (con3,"::1",root,,test,$MASTER_MYPORT,);
|
||||
--connection default
|
||||
--source ../include/hostcache_dump.inc
|
||||
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
||||
|
@ -27,7 +27,7 @@ select current_user();
|
||||
disconnect con1;
|
||||
|
||||
--connection default
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv6,getnameinfo_fake_ipv6,getaddrinfo_fake_good_ipv6";
|
||||
|
||||
--disable_query_log
|
||||
@ -81,5 +81,5 @@ connect (con2f,"::1",user_with,wrong_password,test,$MASTER_MYPORT,);
|
||||
drop user 'user_with'@'santa.claus.ipv6.example.com';
|
||||
drop user 'user_without'@'santa.claus.ipv6.example.com';
|
||||
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
||||
|
@ -31,7 +31,7 @@ select current_user();
|
||||
disconnect con1;
|
||||
|
||||
--connection default
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv6,getnameinfo_fake_ipv6,getaddrinfo_fake_good_ipv6";
|
||||
|
||||
--disable_query_log
|
||||
@ -69,5 +69,5 @@ connect (con2d,"::1",user_ssl_x509,good_password,test,$MASTER_MYPORT,,SSL);
|
||||
drop user 'user_ssl'@'santa.claus.ipv6.example.com';
|
||||
drop user 'user_ssl_x509'@'santa.claus.ipv6.example.com';
|
||||
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
||||
|
@ -22,7 +22,7 @@ select current_user();
|
||||
disconnect con1;
|
||||
|
||||
--connection default
|
||||
set @saved_dbug = @@global.debug_dbug;
|
||||
SET @saved_dbug = @@GLOBAL.debug_dbug;
|
||||
set global debug_dbug= "+d,vio_peer_addr_error";
|
||||
|
||||
--disable_query_log
|
||||
@ -43,7 +43,7 @@ connect (con3,"127.0.0.1",root,,test,$MASTER_MYPORT,);
|
||||
show global status like "connection_errors_%";
|
||||
--source ../include/hostcache_dump.inc
|
||||
|
||||
set @@global.debug_dbug = @saved_dbug;
|
||||
SET @@GLOBAL.debug_dbug = @saved_dbug;
|
||||
|
||||
flush status;
|
||||
show global status like "connection_errors_%";
|
||||
|
Reference in New Issue
Block a user