mirror of
https://github.com/MariaDB/server.git
synced 2025-01-21 14:32:34 +01:00
110 lines
3.8 KiB
Text
110 lines
3.8 KiB
Text
#################### IP: 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;
|
|
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,0:0:0:0:0:FFFF:127.0.0.1,root,,test,MASTER_MYPORT);
|
|
connect (slave,0:0:0:0:0:FFFF: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;
|
|
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,0000:0000:0000:0000:0000:FFFF:127.0.0.1,root,,test,MASTER_MYPORT);
|
|
connect (slave,0000:0000:0000:0000:0000:FFFF: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;
|
|
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,0:0000:0000:0:0000:FFFF:127.0.0.1,root,,test,MASTER_MYPORT);
|
|
connect (slave,0:0000:0000:0:0000:FFFF: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;
|
|
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,0::0000:FFFF:127.0.0.1,root,,test,MASTER_MYPORT);
|
|
connect (slave,0::0000:FFFF: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;
|
|
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,::FFFF:127.0.0.1,root,,test,MASTER_MYPORT);
|
|
connect (slave,::FFFF: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;
|
|
change master to master_host='::FFFF:127.0.0.1';
|
|
Master-Host: ::FFFF:127.0.0.1
|
|
disconnect slave;
|
|
disconnect master;
|
|
connection default;
|
|
#################### IP: ::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='::1';
|
|
Master-Host: ::1
|
|
change master to master_host='::FFFF:127.0.0.1';
|
|
Master-Host: ::FFFF:127.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
|
|
disconnect slave;
|
|
disconnect master;
|
|
connection default;
|