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 Posted / 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 View All Answers
What is triggers and how it can be used in mysql?
How do I change mysql password?
What is cast in mysql?
Difference between CHAR and VARCHAR?
Why mongodb is faster than mysql?
Explain about reporting services of MYSQL?
What is dbms in mysql?
How to Creating a new user. Login as root. Switch to the MySQL db. Make the user. Update privs.
How do I edit a table in mysql?
what is constraints? Also explain the different types of constraints?
What is 'mysqladmin' in mysql?
What is a trigger? How you can create a trigger in mysql?
Can mysql scale horizontally?
How do we delete a row in a table?
How do I view mysql logs?