1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

MDEV-6720 - enable connection log in mysqltest by default

This commit is contained in:
Sergey Vojtovich
2016-03-25 20:51:22 +04:00
parent 5052e2479e
commit 282497dd6d
1559 changed files with 38534 additions and 9891 deletions

View File

@ -27,15 +27,19 @@ CREATE USER 'plug'@'santa.claus.ipv6.example.com'
CREATE USER 'plug_dest'@'santa.claus.ipv6.example.com'
IDENTIFIED BY 'plug_test_passwd';
GRANT SELECT ON test.* TO 'plug_dest'@'santa.claus.ipv6.example.com';
connect con1,"::1",root,,test,$MASTER_MYPORT,;
select "Con1 is alive";
Con1 is alive
Con1 is alive
select current_user();
current_user()
root@localhost
disconnect con1;
connection default;
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
connection default;
"Dumping performance_schema.host_cache"
IP 2001:db8::6:6
HOST santa.claus.ipv6.example.com
@ -65,6 +69,7 @@ COUNT_UNKNOWN_ERRORS 0
FIRST_ERROR_SEEN set
LAST_ERROR_SEEN set
ERROR HY000: Plugin 'test_plugin_server' is not loaded
connection default;
"Dumping performance_schema.host_cache"
IP 2001:db8::6:6
HOST santa.claus.ipv6.example.com
@ -95,6 +100,7 @@ FIRST_ERROR_SEEN set
LAST_ERROR_SEEN set
install plugin test_plugin_server soname 'PLUGIN_AUTH';
ERROR 28000: Access denied for user 'plug'@'santa.claus.ipv6.example.com' (using password: YES)
connection default;
"Dumping performance_schema.host_cache"
IP 2001:db8::6:6
HOST santa.claus.ipv6.example.com
@ -124,6 +130,7 @@ COUNT_UNKNOWN_ERRORS 0
FIRST_ERROR_SEEN set
LAST_ERROR_SEEN set
ERROR 28000: Access denied for user 'plug'@'santa.claus.ipv6.example.com' (using password: YES)
connection default;
"Dumping performance_schema.host_cache"
IP 2001:db8::6:6
HOST santa.claus.ipv6.example.com
@ -154,6 +161,7 @@ FIRST_ERROR_SEEN set
LAST_ERROR_SEEN set
GRANT PROXY ON 'plug_dest'@'santa.claus.ipv6.example.com'
TO 'plug'@'santa.claus.ipv6.example.com';
connect con4,"::1",plug,plug_dest,test,$MASTER_MYPORT,,,auth_test_plugin;
select "Con4 is alive";
Con4 is alive
Con4 is alive
@ -163,6 +171,8 @@ plug@santa.claus.ipv6.example.com
select current_user();
current_user()
plug_dest@santa.claus.ipv6.example.com
disconnect con4;
connection default;
"Dumping performance_schema.host_cache"
IP 2001:db8::6:6
HOST santa.claus.ipv6.example.com