mirror of
https://github.com/MariaDB/server.git
synced 2025-09-02 09:41:40 +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
|
||||
|
Reference in New Issue
Block a user