1 --echo connect (master,$IPv6,root,,
test,MASTER_MYPORT);
2 connect (master,$IPv6,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 eval change master
to master_host=
'$IPv6';
14 let $master_host= query_get_value(SHOW SLAVE
STATUS, Master_Host, 1);
15 --echo Master-Host: $master_host
16 --echo disconnect slave;
18 --echo disconnect master;
20 --echo connection
default;