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.



in a master-master replication with two masters and alternate slaves running on two systems.can i h..

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

Post New Answer

More MySQL Interview Questions

What is auto increment in mysql?

0 Answers  


Can mysql handle big data?

0 Answers  


What is mysql server?

0 Answers  


Can't connect mysql server on localhost?

0 Answers  


Is SET Command is SQL Statement..?

4 Answers   BitWise,


Write a query to stop mysql in unix

0 Answers  


Does mysql use t sql?

0 Answers  


How do I restore a mysql database dump file in linux?

0 Answers  


Can you save your connection settings to a conf file?

1 Answers  


What are the differences between innodb and myisam engines?

0 Answers  


How do I select a database in mysql workbench?

0 Answers  


What is the default password for mysql?

0 Answers  


Categories