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

Which is better mysql or mssql?

0 Answers  


How many ways we can retrieve the date in result set of mysql using php?

0 Answers  


What is ddl, dml, and dcl?

0 Answers  


How do I edit a stored procedure in mysql?

0 Answers  


Is mysql a server or database?

0 Answers  






How can we find out which auto increment was assigned on Last insert?

0 Answers  


Will mysql remain free?

0 Answers  


How to upload a large file through phpmyadmin in mysql?

0 Answers  


How are mysql timestamps seen to a user?

0 Answers  


How is data stored in mysql?

0 Answers  


Why we use mysql workbench?

0 Answers  


Can you tell the reasons for selecting lamp(linux, apache, mysql, php) instead of any other combination of software programs, servers, and operating system?

0 Answers  


Categories