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 |
What is auto increment in mysql?
Can mysql handle big data?
What is mysql server?
Can't connect mysql server on localhost?
Is SET Command is SQL Statement..?
Write a query to stop mysql in unix
Does mysql use t sql?
How do I restore a mysql database dump file in linux?
Can you save your connection settings to a conf file?
What are the differences between innodb and myisam engines?
How do I select a database in mysql workbench?
What is the default password for mysql?