mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 12:32:27 +01:00
16 lines
430 B
Text
16 lines
430 B
Text
|
# Connect to both master and slave
|
||
|
connect (master,127.0.0.1,root,,test,$MASTER_MYPORT,);
|
||
|
connect (slave,127.0.0.1,root,,test,$SLAVE_MYPORT,);
|
||
|
|
||
|
vertical_results;
|
||
|
|
||
|
echo == MASTER ===========================================================;
|
||
|
connection master;
|
||
|
show master status;
|
||
|
show slave status;
|
||
|
|
||
|
echo == SLAVE ===========================================================;
|
||
|
connection slave;
|
||
|
show master status;
|
||
|
show slave status;
|