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

using primary can we relate two table, with out foreign key?

0 Answers  


What is a select query?

0 Answers  


Is microsoft sql same as mysql?

0 Answers  


Difference between CHAR and VARCHAR?

0 Answers  


why not null is not allowed at table level

0 Answers   Cognizant,


How do I start mysql?

0 Answers  


What is the use of count function in mysql?

0 Answers  


How to dump a table to a file with 'mysqldump'?

0 Answers  


Why mysql is used with php?

0 Answers  


What you can use regular expression for in mysql? Support your answer with an example?

0 Answers  


can you tell the order of sql select statement? : Mysql dba

0 Answers  


What is the difference between char and varchar data types?

6 Answers  


Categories