Commit 836b51ac authored by Horst.Hunger's avatar Horst.Hunger

No more socket and no more diffs in result files.

parent 8424bef0
--echo connect (master,$IPv6,root,,test,MASTER_MYPORT,MASTER_MYSOCK); --echo connect (master,$IPv6,root,,test,MASTER_MYPORT);
connect (master,$IPv6,root,,test,$MASTER_MYPORT,$MASTER_MYSOCK); connect (master,$IPv6,root,,test,$MASTER_MYPORT);
--echo connect (slave,127.0.0.1,root,,test,SLAVE_MYPORT,SLAVE_MYSOCK); --echo connect (slave,127.0.0.1,root,,test,SLAVE_MYPORT);
connect (slave,127.0.0.1,root,,test,$SLAVE_MYPORT,$SLAVE_MYSOCK); connect (slave,127.0.0.1,root,,test,$SLAVE_MYPORT);
--echo connection master; --echo connection master;
connection master; connection master;
reset master; reset master;
......
--echo connect (master,127.0.0.1,root,,test,MASTER_MYPORT,MASTER_MYSOCK); --echo connect (master,127.0.0.1,root,,test,MASTER_MYPORT);
connect (master,127.0.0.1,root,,test,$MASTER_MYPORT,$MASTER_MYSOCK); connect (master,127.0.0.1,root,,test,$MASTER_MYPORT);
--echo connect (slave,$IPv6,root,,test,SLAVE_MYPORT,SLAVE_MYSOCK); --echo connect (slave,$IPv6,root,,test,SLAVE_MYPORT);
connect (slave,$IPv6,root,,test,$SLAVE_MYPORT,$SLAVE_MYSOCK); connect (slave,$IPv6,root,,test,$SLAVE_MYPORT);
--echo connection master; --echo connection master;
connection master; connection master;
reset master; reset master;
......
...@@ -29,3 +29,5 @@ root@localhost ...@@ -29,3 +29,5 @@ root@localhost
DROP USER testuser1@'127.0.0.1'; DROP USER testuser1@'127.0.0.1';
=============Test of '::1' ======================== =============Test of '::1' ========================
connect (con1, ::1, root, , test, MASTER_MYPORT,); connect (con1, ::1, root, , test, MASTER_MYPORT,);
Got one of the listed errors
...@@ -15,17 +15,17 @@ inet_ntoa(@nip) ...@@ -15,17 +15,17 @@ inet_ntoa(@nip)
NULL NULL
SELECT USER(); SELECT USER();
USER() USER()
root@localhost root@::1
SELECT current_user(); SELECT current_user();
current_user() current_user()
root@localhost root@::1
SHOW PROCESSLIST; SHOW PROCESSLIST;
REVOKE ALL ON test.* FROM testuser@'::1'; REVOKE ALL ON test.* FROM testuser@'::1';
RENAME USER testuser@'::1' to testuser1@'::1'; RENAME USER testuser@'::1' to testuser1@'::1';
SET PASSWORD FOR testuser1@'::1' = PASSWORD ('9876'); SET PASSWORD FOR testuser1@'::1' = PASSWORD ('9876');
SELECT USER(); SELECT USER();
USER() USER()
root@localhost root@::1
DROP USER testuser1@'::1'; DROP USER testuser1@'::1';
=============Test of '::1/128' ==================================== =============Test of '::1/128' ====================================
=============Test of '0000:0000:0000:0000:0000:0000:0000:0001' ==== =============Test of '0000:0000:0000:0000:0000:0000:0000:0001' ====
...@@ -45,17 +45,17 @@ inet_ntoa(@nip) ...@@ -45,17 +45,17 @@ inet_ntoa(@nip)
NULL NULL
SELECT USER(); SELECT USER();
USER() USER()
root@localhost root@::1
SELECT current_user(); SELECT current_user();
current_user() current_user()
root@localhost root@::1
SHOW PROCESSLIST; SHOW PROCESSLIST;
REVOKE ALL ON test.* FROM testuser@'0000:0000:0000:0000:0000:0000:0000:0001'; REVOKE ALL ON test.* FROM testuser@'0000:0000:0000:0000:0000:0000:0000:0001';
RENAME USER testuser@'0000:0000:0000:0000:0000:0000:0000:0001' to testuser1@'0000:0000:0000:0000:0000:0000:0000:0001'; RENAME USER testuser@'0000:0000:0000:0000:0000:0000:0000:0001' to testuser1@'0000:0000:0000:0000:0000:0000:0000:0001';
SET PASSWORD FOR testuser1@'0000:0000:0000:0000:0000:0000:0000:0001' = PASSWORD ('9876'); SET PASSWORD FOR testuser1@'0000:0000:0000:0000:0000:0000:0000:0001' = PASSWORD ('9876');
SELECT USER(); SELECT USER();
USER() USER()
root@localhost root@::1
DROP USER testuser1@'0000:0000:0000:0000:0000:0000:0000:0001'; DROP USER testuser1@'0000:0000:0000:0000:0000:0000:0000:0001';
=============Test of '0:0:0:0:0:0:0:1' ============================ =============Test of '0:0:0:0:0:0:0:1' ============================
mysqld is alive mysqld is alive
...@@ -74,15 +74,15 @@ inet_ntoa(@nip) ...@@ -74,15 +74,15 @@ inet_ntoa(@nip)
NULL NULL
SELECT USER(); SELECT USER();
USER() USER()
root@localhost root@::1
SELECT current_user(); SELECT current_user();
current_user() current_user()
root@localhost root@::1
SHOW PROCESSLIST; SHOW PROCESSLIST;
REVOKE ALL ON test.* FROM testuser@'0:0:0:0:0:0:0:1'; REVOKE ALL ON test.* FROM testuser@'0:0:0:0:0:0:0:1';
RENAME USER testuser@'0:0:0:0:0:0:0:1' to testuser1@'0:0:0:0:0:0:0:1'; RENAME USER testuser@'0:0:0:0:0:0:0:1' to testuser1@'0:0:0:0:0:0:0:1';
SET PASSWORD FOR testuser1@'0:0:0:0:0:0:0:1' = PASSWORD ('9876'); SET PASSWORD FOR testuser1@'0:0:0:0:0:0:0:1' = PASSWORD ('9876');
SELECT USER(); SELECT USER();
USER() USER()
root@localhost root@::1
DROP USER testuser1@'0:0:0:0:0:0:0:1'; DROP USER testuser1@'0:0:0:0:0:0:0:1';
#################### IP: ::1 ########################### #################### IP: ::1 ###########################
connect (master,127.0.0.1,root,,test,MASTER_MYPORT,MASTER_MYSOCK); connect (master,127.0.0.1,root,,test,MASTER_MYPORT);
connect (slave,::1,root,,test,SLAVE_MYPORT,SLAVE_MYSOCK); connect (slave,::1,root,,test,SLAVE_MYPORT);
connection master; connection master;
reset master; reset master;
show master status; show master status;
...@@ -9,13 +9,13 @@ master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB> ...@@ -9,13 +9,13 @@ master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave; connection slave;
reset slave; reset slave;
change master to master_host='::1'; change master to master_host='::1';
Master_Host: ::1 Master-Host: ::1
disconnect slave; disconnect slave;
disconnect master; disconnect master;
connection default; connection default;
#################### IP: 0000:0000:0000:0000:0000:0000:0000:0001 ########################### #################### IP: 0000:0000:0000:0000:0000:0000:0000:0001 ###########################
connect (master,127.0.0.1,root,,test,MASTER_MYPORT,MASTER_MYSOCK); connect (master,127.0.0.1,root,,test,MASTER_MYPORT);
connect (slave,0000:0000:0000:0000:0000:0000:0000:0001,root,,test,SLAVE_MYPORT,SLAVE_MYSOCK); connect (slave,0000:0000:0000:0000:0000:0000:0000:0001,root,,test,SLAVE_MYPORT);
connection master; connection master;
reset master; reset master;
show master status; show master status;
...@@ -23,15 +23,15 @@ File Position Binlog_Do_DB Binlog_Ignore_DB ...@@ -23,15 +23,15 @@ File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB> master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave; connection slave;
reset slave; reset slave;
Master_Host: ::1 Master-Host: ::1
change master to master_host='0000:0000:0000:0000:0000:0000:0000:0001'; change master to master_host='0000:0000:0000:0000:0000:0000:0000:0001';
Master_Host: 0000:0000:0000:0000:0000:0000:0000:0001 Master-Host: 0000:0000:0000:0000:0000:0000:0000:0001
disconnect slave; disconnect slave;
disconnect master; disconnect master;
connection default; connection default;
#################### IP: 0:0:0:0:0:0:0:1 ########################### #################### IP: 0:0:0:0:0:0:0:1 ###########################
connect (master,127.0.0.1,root,,test,MASTER_MYPORT,MASTER_MYSOCK); connect (master,127.0.0.1,root,,test,MASTER_MYPORT);
connect (slave,0:0:0:0:0:0:0:1,root,,test,SLAVE_MYPORT,SLAVE_MYSOCK); connect (slave,0:0:0:0:0:0:0:1,root,,test,SLAVE_MYPORT);
connection master; connection master;
reset master; reset master;
show master status; show master status;
...@@ -39,15 +39,15 @@ File Position Binlog_Do_DB Binlog_Ignore_DB ...@@ -39,15 +39,15 @@ File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB> master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave; connection slave;
reset slave; reset slave;
Master_Host: 0000:0000:0000:0000:0000:0000:0000:0001 Master-Host: 0000:0000:0000:0000:0000:0000:0000:0001
change master to master_host='0:0:0:0:0:0:0:1'; change master to master_host='0:0:0:0:0:0:0:1';
Master_Host: 0:0:0:0:0:0:0:1 Master-Host: 0:0:0:0:0:0:0:1
disconnect slave; disconnect slave;
disconnect master; disconnect master;
connection default; connection default;
#################### IP: 127.0.0.1 ########################### #################### IP: 127.0.0.1 ###########################
connect (master,127.0.0.1,root,,test,MASTER_MYPORT,MASTER_MYSOCK); connect (master,127.0.0.1,root,,test,MASTER_MYPORT);
connect (slave,127.0.0.1,root,,test,SLAVE_MYPORT,SLAVE_MYSOCK); connect (slave,127.0.0.1,root,,test,SLAVE_MYPORT);
connection master; connection master;
reset master; reset master;
show master status; show master status;
...@@ -55,9 +55,9 @@ File Position Binlog_Do_DB Binlog_Ignore_DB ...@@ -55,9 +55,9 @@ File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB> master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave; connection slave;
reset slave; reset slave;
Master_Host: 0:0:0:0:0:0:0:1 Master-Host: 0:0:0:0:0:0:0:1
change master to master_host='127.0.0.1'; change master to master_host='127.0.0.1';
Master_Host: 127.0.0.1 Master-Host: 127.0.0.1
disconnect slave; disconnect slave;
disconnect master; disconnect master;
connection default; connection default;
...@@ -71,13 +71,13 @@ File Position Binlog_Do_DB Binlog_Ignore_DB ...@@ -71,13 +71,13 @@ File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB> master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave; connection slave;
reset slave; reset slave;
Master_Host: 127.0.0.1 Master-Host: 127.0.0.1
change master to master_host='::1'; change master to master_host='::1';
Master_Host: ::1 Master-Host: ::1
change master to master_host='127.0.0.1'; change master to master_host='127.0.0.1';
Master_Host: 127.0.0.1 Master-Host: 127.0.0.1
change master to master_host='0:0:0:0:0:0:0:1'; change master to master_host='0:0:0:0:0:0:0:1';
Master_Host: 0:0:0:0:0:0:0:1 Master-Host: 0:0:0:0:0:0:0:1
disconnect slave; disconnect slave;
disconnect master; disconnect master;
connection default; connection default;
#################### IP: ::1 ########################### #################### IP: ::1 ###########################
connect (master,::1,root,,test,MASTER_MYPORT,MASTER_MYSOCK); connect (master,::1,root,,test,MASTER_MYPORT);
connect (slave,127.0.0.1,root,,test,SLAVE_MYPORT,SLAVE_MYSOCK); connect (slave,127.0.0.1,root,,test,SLAVE_MYPORT);
connection master; connection master;
reset master; reset master;
show master status; show master status;
...@@ -9,13 +9,13 @@ master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB> ...@@ -9,13 +9,13 @@ master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave; connection slave;
reset slave; reset slave;
change master to master_host='::1'; change master to master_host='::1';
Master_Host: ::1 Master-Host: ::1
disconnect slave; disconnect slave;
disconnect master; disconnect master;
connection default; connection default;
#################### IP: 0000:0000:0000:0000:0000:0000:0000:0001 ########################### #################### IP: 0000:0000:0000:0000:0000:0000:0000:0001 ###########################
connect (master,0000:0000:0000:0000:0000:0000:0000:0001,root,,test,MASTER_MYPORT,MASTER_MYSOCK); connect (master,0000:0000:0000:0000:0000:0000:0000:0001,root,,test,MASTER_MYPORT);
connect (slave,127.0.0.1,root,,test,SLAVE_MYPORT,SLAVE_MYSOCK); connect (slave,127.0.0.1,root,,test,SLAVE_MYPORT);
connection master; connection master;
reset master; reset master;
show master status; show master status;
...@@ -23,15 +23,15 @@ File Position Binlog_Do_DB Binlog_Ignore_DB ...@@ -23,15 +23,15 @@ File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB> master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave; connection slave;
reset slave; reset slave;
Master_Host: ::1 Master-Host: ::1
change master to master_host='0000:0000:0000:0000:0000:0000:0000:0001'; change master to master_host='0000:0000:0000:0000:0000:0000:0000:0001';
Master_Host: 0000:0000:0000:0000:0000:0000:0000:0001 Master-Host: 0000:0000:0000:0000:0000:0000:0000:0001
disconnect slave; disconnect slave;
disconnect master; disconnect master;
connection default; connection default;
#################### IP: 0:0:0:0:0:0:0:1 ########################### #################### IP: 0:0:0:0:0:0:0:1 ###########################
connect (master,0:0:0:0:0:0:0:1,root,,test,MASTER_MYPORT,MASTER_MYSOCK); connect (master,0:0:0:0:0:0:0:1,root,,test,MASTER_MYPORT);
connect (slave,127.0.0.1,root,,test,SLAVE_MYPORT,SLAVE_MYSOCK); connect (slave,127.0.0.1,root,,test,SLAVE_MYPORT);
connection master; connection master;
reset master; reset master;
show master status; show master status;
...@@ -39,15 +39,15 @@ File Position Binlog_Do_DB Binlog_Ignore_DB ...@@ -39,15 +39,15 @@ File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB> master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave; connection slave;
reset slave; reset slave;
Master_Host: 0000:0000:0000:0000:0000:0000:0000:0001 Master-Host: 0000:0000:0000:0000:0000:0000:0000:0001
change master to master_host='0:0:0:0:0:0:0:1'; change master to master_host='0:0:0:0:0:0:0:1';
Master_Host: 0:0:0:0:0:0:0:1 Master-Host: 0:0:0:0:0:0:0:1
disconnect slave; disconnect slave;
disconnect master; disconnect master;
connection default; connection default;
#################### IP: 127.0.0.1 ########################### #################### IP: 127.0.0.1 ###########################
connect (master,127.0.0.1,root,,test,MASTER_MYPORT,MASTER_MYSOCK); connect (master,127.0.0.1,root,,test,MASTER_MYPORT);
connect (slave,127.0.0.1,root,,test,SLAVE_MYPORT,SLAVE_MYSOCK); connect (slave,127.0.0.1,root,,test,SLAVE_MYPORT);
connection master; connection master;
reset master; reset master;
show master status; show master status;
...@@ -55,9 +55,9 @@ File Position Binlog_Do_DB Binlog_Ignore_DB ...@@ -55,9 +55,9 @@ File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB> master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave; connection slave;
reset slave; reset slave;
Master_Host: 0:0:0:0:0:0:0:1 Master-Host: 0:0:0:0:0:0:0:1
change master to master_host='127.0.0.1'; change master to master_host='127.0.0.1';
Master_Host: 127.0.0.1 Master-Host: 127.0.0.1
disconnect slave; disconnect slave;
disconnect master; disconnect master;
connection default; connection default;
...@@ -71,13 +71,13 @@ File Position Binlog_Do_DB Binlog_Ignore_DB ...@@ -71,13 +71,13 @@ File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB> master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave; connection slave;
reset slave; reset slave;
Master_Host: 127.0.0.1 Master-Host: 127.0.0.1
change master to master_host='::1'; change master to master_host='::1';
Master_Host: ::1 Master-Host: ::1
change master to master_host='127.0.0.1'; change master to master_host='127.0.0.1';
Master_Host: 127.0.0.1 Master-Host: 127.0.0.1
change master to master_host='0:0:0:0:0:0:0:1'; change master to master_host='0:0:0:0:0:0:0:1';
Master_Host: 0:0:0:0:0:0:0:1 Master-Host: 0:0:0:0:0:0:0:1
disconnect slave; disconnect slave;
disconnect master; disconnect master;
connection default; connection default;
#################### IP: 127.0.0.1 ########################### #################### IP: 127.0.0.1 ###########################
connect (master,127.0.0.1,root,,test,MASTER_MYPORT,MASTER_MYSOCK); connect (master,127.0.0.1,root,,test,MASTER_MYPORT);
connect (slave,127.0.0.1,root,,test,SLAVE_MYPORT,SLAVE_MYSOCK); connect (slave,127.0.0.1,root,,test,SLAVE_MYPORT);
connection master; connection master;
reset master; reset master;
show master status; show master status;
...@@ -9,7 +9,7 @@ master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB> ...@@ -9,7 +9,7 @@ master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave; connection slave;
reset slave; reset slave;
change master to master_host='127.0.0.1'; change master to master_host='127.0.0.1';
Master_Host: 127.0.0.1 Master-Host: 127.0.0.1
disconnect slave; disconnect slave;
disconnect master; disconnect master;
connection default; connection default;
...@@ -23,13 +23,13 @@ File Position Binlog_Do_DB Binlog_Ignore_DB ...@@ -23,13 +23,13 @@ File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB> master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave; connection slave;
reset slave; reset slave;
Master_Host: 127.0.0.1 Master-Host: 127.0.0.1
change master to master_host='::1'; change master to master_host='::1';
Master_Host: ::1 Master-Host: ::1
change master to master_host='127.0.0.1'; change master to master_host='127.0.0.1';
Master_Host: 127.0.0.1 Master-Host: 127.0.0.1
change master to master_host='0:0:0:0:0:0:0:1'; change master to master_host='0:0:0:0:0:0:0:1';
Master_Host 0:0:0:0:0:0:0:1 Master-Host 0:0:0:0:0:0:0:1
disconnect slave; disconnect slave;
disconnect master; disconnect master;
connection default; connection default;
#################### IP: ::1 ########################### #################### IP: ::1 ###########################
connect (master,::1,root,,test,MASTER_MYPORT,MASTER_MYSOCK); connect (master,::1,root,,test,MASTER_MYPORT);
connect (slave,::1,root,,test,SLAVE_MYPORT,SLAVE_MYSOCK); connect (slave,::1,root,,test,SLAVE_MYPORT);
connection master; connection master;
reset master; reset master;
show master status; show master status;
...@@ -9,13 +9,13 @@ master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB> ...@@ -9,13 +9,13 @@ master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave; connection slave;
reset slave; reset slave;
change master to master_host='::1'; change master to master_host='::1';
Master_Host: ::1 Master-Host: ::1
disconnect slave; disconnect slave;
disconnect master; disconnect master;
connection default; connection default;
#################### IP: 0000:0000:0000:0000:0000:0000:0000:0001 ########################### #################### IP: 0000:0000:0000:0000:0000:0000:0000:0001 ###########################
connect (master,0000:0000:0000:0000:0000:0000:0000:0001,root,,test,MASTER_MYPORT,MASTER_MYSOCK); connect (master,0000:0000:0000:0000:0000:0000:0000:0001,root,,test,MASTER_MYPORT);
connect (slave,0000:0000:0000:0000:0000:0000:0000:0001,root,,test,SLAVE_MYPORT,SLAVE_MYSOCK); connect (slave,0000:0000:0000:0000:0000:0000:0000:0001,root,,test,SLAVE_MYPORT);
connection master; connection master;
reset master; reset master;
show master status; show master status;
...@@ -23,15 +23,15 @@ File Position Binlog_Do_DB Binlog_Ignore_DB ...@@ -23,15 +23,15 @@ File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB> master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave; connection slave;
reset slave; reset slave;
Master_Host: ::1 Master-Host: ::1
change master to master_host='0000:0000:0000:0000:0000:0000:0000:0001'; change master to master_host='0000:0000:0000:0000:0000:0000:0000:0001';
Master_Host: 0000:0000:0000:0000:0000:0000:0000:0001 Master-Host: 0000:0000:0000:0000:0000:0000:0000:0001
disconnect slave; disconnect slave;
disconnect master; disconnect master;
connection default; connection default;
#################### IP: 0:0:0:0:0:0:0:1 ########################### #################### IP: 0:0:0:0:0:0:0:1 ###########################
connect (master,0:0:0:0:0:0:0:1,root,,test,MASTER_MYPORT,MASTER_MYSOCK); connect (master,0:0:0:0:0:0:0:1,root,,test,MASTER_MYPORT);
connect (slave,0:0:0:0:0:0:0:1,root,,test,SLAVE_MYPORT,SLAVE_MYSOCK); connect (slave,0:0:0:0:0:0:0:1,root,,test,SLAVE_MYPORT);
connection master; connection master;
reset master; reset master;
show master status; show master status;
...@@ -39,15 +39,15 @@ File Position Binlog_Do_DB Binlog_Ignore_DB ...@@ -39,15 +39,15 @@ File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB> master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave; connection slave;
reset slave; reset slave;
Master_Host: 0000:0000:0000:0000:0000:0000:0000:0001 Master-Host: 0000:0000:0000:0000:0000:0000:0000:0001
change master to master_host='0:0:0:0:0:0:0:1'; change master to master_host='0:0:0:0:0:0:0:1';
Master_Host: 0:0:0:0:0:0:0:1 Master-Host: 0:0:0:0:0:0:0:1
disconnect slave; disconnect slave;
disconnect master; disconnect master;
connection default; connection default;
#################### IP: 127.0.0.1 ########################### #################### IP: 127.0.0.1 ###########################
connect (master,127.0.0.1,root,,test,MASTER_MYPORT,MASTER_MYSOCK); connect (master,127.0.0.1,root,,test,MASTER_MYPORT);
connect (slave,127.0.0.1,root,,test,SLAVE_MYPORT,SLAVE_MYSOCK); connect (slave,127.0.0.1,root,,test,SLAVE_MYPORT);
connection master; connection master;
reset master; reset master;
show master status; show master status;
...@@ -55,9 +55,9 @@ File Position Binlog_Do_DB Binlog_Ignore_DB ...@@ -55,9 +55,9 @@ File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB> master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave; connection slave;
reset slave; reset slave;
Master_Host: 0:0:0:0:0:0:0:1 Master-Host: 0:0:0:0:0:0:0:1
change master to master_host='127.0.0.1'; change master to master_host='127.0.0.1';
Master_Host: 127.0.0.1 Master-Host: 127.0.0.1
disconnect slave; disconnect slave;
disconnect master; disconnect master;
connection default; connection default;
...@@ -71,13 +71,13 @@ File Position Binlog_Do_DB Binlog_Ignore_DB ...@@ -71,13 +71,13 @@ File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB> master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave; connection slave;
reset slave; reset slave;
Master_Host: 127.0.0.1 Master-Host: 127.0.0.1
change master to master_host='::1'; change master to master_host='::1';
Master_Host: ::1 Master-Host: ::1
change master to master_host='127.0.0.1'; change master to master_host='127.0.0.1';
Master_Host: 127.0.0.1 Master-Host: 127.0.0.1
change master to master_host='0:0:0:0:0:0:0:1'; change master to master_host='0:0:0:0:0:0:0:1';
Master_Host: 0:0:0:0:0:0:0:1 Master-Host: 0:0:0:0:0:0:0:1
disconnect slave; disconnect slave;
disconnect master; disconnect master;
connection default; connection default;
...@@ -22,7 +22,7 @@ echo =============Test of '::1' ========================; ...@@ -22,7 +22,7 @@ echo =============Test of '::1' ========================;
let $IPv6= ::1; let $IPv6= ::1;
--echo connect (con1, $IPv6, root, , test, MASTER_MYPORT,); --echo connect (con1, $IPv6, root, , test, MASTER_MYPORT,);
--disable_query_log --disable_query_log
#--error 2003,2006 --error 2003,2006
connect (con1, $IPv6, root, , test, $MASTER_MYPORT); connect (con1, $IPv6, root, , test, $MASTER_MYPORT);
--enable_query_log --enable_query_log
connection default; connection default;
......
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