in a master-master replication with two masters and
alternate slaves running on two systems.can i have a script
or any mysql command to know which one is right now acting
as master.
Answer / lekhrajdeshmukh
i have answer regarding on master and one slave running on
the status:-
show slave status \G;
Is This Answer Correct ? | 0 Yes | 0 No |
How to create a new table by selecting rows from another table in mysql?
what is the difference between between and in operators in mysql?
how to find missing numbers between two order numbers; and dates ?
What is full form of xampp?
What is default password for mysql?
What does myisamchk do?
What is a join in mysql?
Create table employee (eno int(2),ename varchar(10)) ?
How can you change the name of any existing table by using the sql statement?
How do you rename a procedure in mysql?
How to get nth highest salary from table in a mysql?
What is mysql gpl?