1 --echo connect (master,127.0.0.1,root,,
test,MASTER_MYPORT);
2 connect (master,127.0.0.1,root,,
test,$MASTER_MYPORT);
3 --echo connect (slave,$IPv6,root,,
test,SLAVE_MYPORT);
4 connect (slave,$IPv6,root,,
test,$SLAVE_MYPORT);
5 --echo connection master;
8 source include/show_master_status.inc;
10 --echo connection slave;
13 let $master_host= query_get_value(SHOW SLAVE
STATUS, Master_Host, 1);
14 --echo Master-Host: $master_host
15 eval change master
to master_host=
'$IPv6';
16 let $master_host= query_get_value(SHOW SLAVE
STATUS, Master_Host, 1);
17 --echo Master-Host: $master_host
18 --echo disconnect slave;
20 --echo disconnect master;
22 --echo connection
default;