mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-6720 - enable connection log in mysqltest by default
This commit is contained in:
@ -25,19 +25,25 @@ select `User`, `Host` from mysql.`user` where `user` like 'santa.claus.%';
|
||||
User Host
|
||||
create user 'root'@'santa.claus.ipv4.example.com';
|
||||
grant select on test.* to 'root'@'santa.claus.ipv4.example.com';
|
||||
connect con1,"127.0.0.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_ipv4,getnameinfo_fake_ipv4,getaddrinfo_fake_good_ipv4";
|
||||
connect con2,"127.0.0.1",root,,test,$MASTER_MYPORT,;
|
||||
select "Con2 is alive";
|
||||
Con2 is alive
|
||||
Con2 is alive
|
||||
select current_user();
|
||||
current_user()
|
||||
root@santa.claus.ipv4.example.com
|
||||
disconnect con2;
|
||||
connection default;
|
||||
"Dumping performance_schema.host_cache"
|
||||
IP 192.0.2.4
|
||||
HOST santa.claus.ipv4.example.com
|
||||
@ -66,12 +72,15 @@ COUNT_LOCAL_ERRORS 0
|
||||
COUNT_UNKNOWN_ERRORS 0
|
||||
FIRST_ERROR_SEEN null
|
||||
LAST_ERROR_SEEN null
|
||||
connect con3,"127.0.0.1",root,,test,$MASTER_MYPORT,;
|
||||
select "Con3 is alive";
|
||||
Con3 is alive
|
||||
Con3 is alive
|
||||
select current_user();
|
||||
current_user()
|
||||
root@santa.claus.ipv4.example.com
|
||||
disconnect con3;
|
||||
connection default;
|
||||
"Dumping performance_schema.host_cache"
|
||||
IP 192.0.2.4
|
||||
HOST santa.claus.ipv4.example.com
|
||||
|
Reference in New Issue
Block a user