Commit 93aded05 authored by Vicențiu Ciorbaru's avatar Vicențiu Ciorbaru

Use same connection convention of specifying IPs

If we use hostnames, it will fail during name resolution on UNIX systems
parent 990283b6
......@@ -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";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment