mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 12:32:27 +01:00
Use same connection convention of specifying IPs
If we use hostnames, it will fail during name resolution on UNIX systems
This commit is contained in:
parent
990283b65c
commit
93aded05ea
4 changed files with 28 additions and 28 deletions
|
@ -563,13 +563,13 @@ disconnect con4c;
|
|||
set global max_user_connections = 0;
|
||||
set global max_connections = 10;
|
||||
flush user_resources;
|
||||
connect tmp_con1,localhost,quota,,test,$MASTER_MYPORT,;
|
||||
connect tmp_con2,localhost,quota,,test,$MASTER_MYPORT,;
|
||||
connect tmp_con3,localhost,quota,,test,$MASTER_MYPORT,;
|
||||
connect tmp_con4,localhost,quota,,test,$MASTER_MYPORT,;
|
||||
connect tmp_con5,localhost,quota,,test,$MASTER_MYPORT,;
|
||||
connect tmp_con6,localhost,quota,,test,$MASTER_MYPORT,;
|
||||
connect tmp_con7,localhost,quota,,test,$MASTER_MYPORT,;
|
||||
connect tmp_con1,"127.0.0.1",quota,,test,$MASTER_MYPORT,;
|
||||
connect tmp_con2,"127.0.0.1",quota,,test,$MASTER_MYPORT,;
|
||||
connect tmp_con3,"127.0.0.1",quota,,test,$MASTER_MYPORT,;
|
||||
connect tmp_con4,"127.0.0.1",quota,,test,$MASTER_MYPORT,;
|
||||
connect tmp_con5,"127.0.0.1",quota,,test,$MASTER_MYPORT,;
|
||||
connect tmp_con6,"127.0.0.1",quota,,test,$MASTER_MYPORT,;
|
||||
connect tmp_con7,"127.0.0.1",quota,,test,$MASTER_MYPORT,;
|
||||
connect con5a,"127.0.0.1",quota,,test,$MASTER_MYPORT,;
|
||||
select "Con4a is alive";
|
||||
Con4a is alive
|
||||
|
|
|
@ -563,13 +563,13 @@ disconnect con4c;
|
|||
set global max_user_connections = 0;
|
||||
set global max_connections = 10;
|
||||
flush user_resources;
|
||||
connect tmp_con1,localhost,quota,,test,$MASTER_MYPORT,;
|
||||
connect tmp_con2,localhost,quota,,test,$MASTER_MYPORT,;
|
||||
connect tmp_con3,localhost,quota,,test,$MASTER_MYPORT,;
|
||||
connect tmp_con4,localhost,quota,,test,$MASTER_MYPORT,;
|
||||
connect tmp_con5,localhost,quota,,test,$MASTER_MYPORT,;
|
||||
connect tmp_con6,localhost,quota,,test,$MASTER_MYPORT,;
|
||||
connect tmp_con7,localhost,quota,,test,$MASTER_MYPORT,;
|
||||
connect tmp_con1,"::1",quota,,test,$MASTER_MYPORT,;
|
||||
connect tmp_con2,"::1",quota,,test,$MASTER_MYPORT,;
|
||||
connect tmp_con3,"::1",quota,,test,$MASTER_MYPORT,;
|
||||
connect tmp_con4,"::1",quota,,test,$MASTER_MYPORT,;
|
||||
connect tmp_con5,"::1",quota,,test,$MASTER_MYPORT,;
|
||||
connect tmp_con6,"::1",quota,,test,$MASTER_MYPORT,;
|
||||
connect tmp_con7,"::1",quota,,test,$MASTER_MYPORT,;
|
||||
connect con5a,"::1",quota,,test,$MASTER_MYPORT,;
|
||||
select "Con4a is alive";
|
||||
Con4a is alive
|
||||
|
|
|
@ -179,13 +179,13 @@ set global max_user_connections = 0;
|
|||
set global max_connections = 10;
|
||||
flush user_resources;
|
||||
|
||||
connect (tmp_con1,localhost,quota,,test,$MASTER_MYPORT,);
|
||||
connect (tmp_con2,localhost,quota,,test,$MASTER_MYPORT,);
|
||||
connect (tmp_con3,localhost,quota,,test,$MASTER_MYPORT,);
|
||||
connect (tmp_con4,localhost,quota,,test,$MASTER_MYPORT,);
|
||||
connect (tmp_con5,localhost,quota,,test,$MASTER_MYPORT,);
|
||||
connect (tmp_con6,localhost,quota,,test,$MASTER_MYPORT,);
|
||||
connect (tmp_con7,localhost,quota,,test,$MASTER_MYPORT,);
|
||||
connect (tmp_con1,"127.0.0.1",quota,,test,$MASTER_MYPORT,);
|
||||
connect (tmp_con2,"127.0.0.1",quota,,test,$MASTER_MYPORT,);
|
||||
connect (tmp_con3,"127.0.0.1",quota,,test,$MASTER_MYPORT,);
|
||||
connect (tmp_con4,"127.0.0.1",quota,,test,$MASTER_MYPORT,);
|
||||
connect (tmp_con5,"127.0.0.1",quota,,test,$MASTER_MYPORT,);
|
||||
connect (tmp_con6,"127.0.0.1",quota,,test,$MASTER_MYPORT,);
|
||||
connect (tmp_con7,"127.0.0.1",quota,,test,$MASTER_MYPORT,);
|
||||
|
||||
connect (con5a,"127.0.0.1",quota,,test,$MASTER_MYPORT,);
|
||||
select "Con4a is alive";
|
||||
|
|
|
@ -180,13 +180,13 @@ set global max_user_connections = 0;
|
|||
set global max_connections = 10;
|
||||
flush user_resources;
|
||||
|
||||
connect (tmp_con1,localhost,quota,,test,$MASTER_MYPORT,);
|
||||
connect (tmp_con2,localhost,quota,,test,$MASTER_MYPORT,);
|
||||
connect (tmp_con3,localhost,quota,,test,$MASTER_MYPORT,);
|
||||
connect (tmp_con4,localhost,quota,,test,$MASTER_MYPORT,);
|
||||
connect (tmp_con5,localhost,quota,,test,$MASTER_MYPORT,);
|
||||
connect (tmp_con6,localhost,quota,,test,$MASTER_MYPORT,);
|
||||
connect (tmp_con7,localhost,quota,,test,$MASTER_MYPORT,);
|
||||
connect (tmp_con1,"::1",quota,,test,$MASTER_MYPORT,);
|
||||
connect (tmp_con2,"::1",quota,,test,$MASTER_MYPORT,);
|
||||
connect (tmp_con3,"::1",quota,,test,$MASTER_MYPORT,);
|
||||
connect (tmp_con4,"::1",quota,,test,$MASTER_MYPORT,);
|
||||
connect (tmp_con5,"::1",quota,,test,$MASTER_MYPORT,);
|
||||
connect (tmp_con6,"::1",quota,,test,$MASTER_MYPORT,);
|
||||
connect (tmp_con7,"::1",quota,,test,$MASTER_MYPORT,);
|
||||
|
||||
connect (con5a,"::1",quota,,test,$MASTER_MYPORT,);
|
||||
select "Con4a is alive";
|
||||
|
|
Loading…
Reference in a new issue