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 A BI Ap;plication?

1 Answers   HCL,


How do I start mysql database?

0 Answers  


What is mysql and why it is used?

0 Answers  


What is processlist in mysql?

0 Answers  


How to use in conditions?

0 Answers  






How do I set user privileges in mysql?

0 Answers  


What is the difference between GROUP BY and ORDER BY in Sql?

12 Answers   Creative, Renault Nissan, Trikon Networks,


How do I view mysql logs?

0 Answers  


How to create a new table in mysql?

0 Answers  


how to delete duplicate rows in sql server 2005?

2 Answers   EWIT, Reliance,


What is strict mode in mysql?

0 Answers  


What is tee command in mysql?

0 Answers  


Categories