| 1 |
#################### IP: ::1 ########################### |
| 2 |
connect master,$IPv6,root,,test,$MASTER_MYPORT; |
| 3 |
connect slave,127.0.0.1,root,,test,$SLAVE_MYPORT; |
| 4 |
connection master; |
| 5 |
reset master; |
| 6 |
show master status; |
| 7 |
File Position Binlog_Do_DB Binlog_Ignore_DB |
| 8 |
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB> |
| 9 |
connection slave; |
| 10 |
reset slave; |
| 11 |
Master-Host: No such row |
| 12 |
change master to master_host='::1'; |
| 13 |
Master-Host: ::1 |
| 14 |
disconnect slave; |
| 15 |
disconnect master; |
| 16 |
connection default; |
| 17 |
#################### IP: 0000:0000:0000:0000:0000:0000:0000:0001 ########################### |
| 18 |
connect master,$IPv6,root,,test,$MASTER_MYPORT; |
| 19 |
connect slave,127.0.0.1,root,,test,$SLAVE_MYPORT; |
| 20 |
connection master; |
| 21 |
reset master; |
| 22 |
show master status; |
| 23 |
File Position Binlog_Do_DB Binlog_Ignore_DB |
| 24 |
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB> |
| 25 |
connection slave; |
| 26 |
reset slave; |
| 27 |
Master-Host: ::1 |
| 28 |
change master to master_host='0000:0000:0000:0000:0000:0000:0000:0001'; |
| 29 |
Master-Host: 0000:0000:0000:0000:0000:0000:0000:0001 |
| 30 |
disconnect slave; |
| 31 |
disconnect master; |
| 32 |
connection default; |
| 33 |
#################### IP: 0:0:0:0:0:0:0:1 ########################### |
| 34 |
connect master,$IPv6,root,,test,$MASTER_MYPORT; |
| 35 |
connect slave,127.0.0.1,root,,test,$SLAVE_MYPORT; |
| 36 |
connection master; |
| 37 |
reset master; |
| 38 |
show master status; |
| 39 |
File Position Binlog_Do_DB Binlog_Ignore_DB |
| 40 |
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB> |
| 41 |
connection slave; |
| 42 |
reset slave; |
| 43 |
Master-Host: 0000:0000:0000:0000:0000:0000:0000:0001 |
| 44 |
change master to master_host='0:0:0:0:0:0:0:1'; |
| 45 |
Master-Host: 0:0:0:0:0:0:0:1 |
| 46 |
disconnect slave; |
| 47 |
disconnect master; |
| 48 |
connection default; |
| 49 |
#################### IP: ::1 mix ####################### |
| 50 |
connect master,$IPv6,root,,test,$MASTER_MYPORT; |
| 51 |
connect slave,127.0.0.1,root,,test,$SLAVE_MYPORT; |
| 52 |
connection master; |
| 53 |
reset master; |
| 54 |
show master status; |
| 55 |
File Position Binlog_Do_DB Binlog_Ignore_DB |
| 56 |
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB> |
| 57 |
connection slave; |
| 58 |
reset slave; |
| 59 |
Master-Host: 0:0:0:0:0:0:0:1 |
| 60 |
change master to master_host='::1'; |
| 61 |
Master-Host: ::1 |
| 62 |
change master to master_host='127.0.0.1'; |
| 63 |
Master-Host: 127.0.0.1 |
| 64 |
change master to master_host='0:0:0:0:0:0:0:1'; |
| 65 |
Master-Host: 0:0:0:0:0:0:0:1 |
| 66 |
CHANGE MASTER TO MASTER_HOST='127.0.0.1', MASTER_USER='root'; |
| 67 |
connection slave; |
| 68 |
reset slave all; |