mirror of
https://github.com/MariaDB/server.git
synced 2025-01-25 00:04:33 +01:00
108 lines
3.7 KiB
Text
108 lines
3.7 KiB
Text
#################### IP: 127.0.0.1 ###########################
|
|
connect master,$IPv6,root,,test,$MASTER_MYPORT;
|
|
connect slave,$IPv6,root,,test,$SLAVE_MYPORT;
|
|
connection master;
|
|
reset master;
|
|
show master status;
|
|
File Position Binlog_Do_DB Binlog_Ignore_DB
|
|
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
|
|
connection slave;
|
|
reset slave;
|
|
change master to master_host='127.0.0.1';
|
|
Master-Host: 127.0.0.1
|
|
disconnect slave;
|
|
disconnect master;
|
|
connection default;
|
|
#################### IP: 0:0:0:0:0:FFFF:127.0.0.1 ###########################
|
|
connect master,$IPv6,root,,test,$MASTER_MYPORT;
|
|
connect slave,$IPv6,root,,test,$SLAVE_MYPORT;
|
|
connection master;
|
|
reset master;
|
|
show master status;
|
|
File Position Binlog_Do_DB Binlog_Ignore_DB
|
|
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
|
|
connection slave;
|
|
reset slave;
|
|
change master to master_host='0:0:0:0:0:FFFF:127.0.0.1';
|
|
Master-Host: 0:0:0:0:0:FFFF:127.0.0.1
|
|
disconnect slave;
|
|
disconnect master;
|
|
connection default;
|
|
#################### IP: 0000:0000:0000:0000:0000:FFFF:127.0.0.1 ###########################
|
|
connect master,$IPv6,root,,test,$MASTER_MYPORT;
|
|
connect slave,$IPv6,root,,test,$SLAVE_MYPORT;
|
|
connection master;
|
|
reset master;
|
|
show master status;
|
|
File Position Binlog_Do_DB Binlog_Ignore_DB
|
|
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
|
|
connection slave;
|
|
reset slave;
|
|
change master to master_host='0000:0000:0000:0000:0000:FFFF:127.0.0.1';
|
|
Master-Host: 0000:0000:0000:0000:0000:FFFF:127.0.0.1
|
|
disconnect slave;
|
|
disconnect master;
|
|
connection default;
|
|
#################### IP: 0:0000:0000:0:0000:FFFF:127.0.0.1 ###########################
|
|
connect master,$IPv6,root,,test,$MASTER_MYPORT;
|
|
connect slave,$IPv6,root,,test,$SLAVE_MYPORT;
|
|
connection master;
|
|
reset master;
|
|
show master status;
|
|
File Position Binlog_Do_DB Binlog_Ignore_DB
|
|
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
|
|
connection slave;
|
|
reset slave;
|
|
change master to master_host='0:0000:0000:0:0000:FFFF:127.0.0.1';
|
|
Master-Host: 0:0000:0000:0:0000:FFFF:127.0.0.1
|
|
disconnect slave;
|
|
disconnect master;
|
|
connection default;
|
|
#################### IP: 0::0000:FFFF:127.0.0.1 ###########################
|
|
connect master,$IPv6,root,,test,$MASTER_MYPORT;
|
|
connect slave,$IPv6,root,,test,$SLAVE_MYPORT;
|
|
connection master;
|
|
reset master;
|
|
show master status;
|
|
File Position Binlog_Do_DB Binlog_Ignore_DB
|
|
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
|
|
connection slave;
|
|
reset slave;
|
|
change master to master_host='0::0000:FFFF:127.0.0.1';
|
|
Master-Host: 0::0000:FFFF:127.0.0.1
|
|
disconnect slave;
|
|
disconnect master;
|
|
connection default;
|
|
#################### IP: ::FFFF:127.0.0.1 ###########################
|
|
connect master,$IPv6,root,,test,$MASTER_MYPORT;
|
|
connect slave,$IPv6,root,,test,$SLAVE_MYPORT;
|
|
connection master;
|
|
reset master;
|
|
show master status;
|
|
File Position Binlog_Do_DB Binlog_Ignore_DB
|
|
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
|
|
connection slave;
|
|
reset slave;
|
|
change master to master_host='::FFFF:127.0.0.1';
|
|
Master-Host: ::FFFF:127.0.0.1
|
|
disconnect slave;
|
|
disconnect master;
|
|
connection default;
|
|
#################### IP: ::FFFF:127.0.0.1 ###########################
|
|
connect master,127.0.0.1,root,,test,$MASTER_MYPORT;
|
|
connect slave,127.0.0.1,root,,test,$SLAVE_MYPORT;
|
|
connection master;
|
|
reset master;
|
|
show master status;
|
|
File Position Binlog_Do_DB Binlog_Ignore_DB
|
|
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
|
|
connection slave;
|
|
reset slave;
|
|
Master-Host: ::FFFF:127.0.0.1
|
|
change master to master_host='::FFFF:127.0.0.1';
|
|
Master-Host: ::FFFF:127.0.0.1
|
|
change master to master_host='127.0.0.1';
|
|
Master-Host: 127.0.0.1
|
|
change master to master_host='0:0000:0000:0:0000:FFFF:127.0.0.1';
|
|
Master-Host: 0:0000:0000:0:0000:FFFF:127.0.0.1
|
|
CHANGE MASTER TO MASTER_HOST='127.0.0.1', MASTER_USER='root';
|