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 are the technical features of MySQL?
What is the difference between MyISAM Static and MyISAM Dynamic?
How do I run mysql from command line?
Is sql similar to mysql?
What is mysqli_connect_error ()?
What are the indexes in mysql?
What is a transaction? Describe mysql transaction properties.
What is mysql community server?
Where is the myisam table stored?
What is offset limit?
What is pragma autonomous_transaction?
What are the different tables present in MySQL?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)