Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How to include character strings in sql statements?

913


How many tables we can create in mysql database?

895


How can we get total number of records by query in mysql?

854


In which year mysql created?

912


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

953


How to check server status with 'mysqladmin'?

1085


What is the difference between char and varchar in mysql?

1006


What is the use of mysql_close()?

925


How do I transfer data from one database to another in mysql?

853


What is memory table in mysql?

887


Which is faster mysql or mongodb?

865


What are mysql queries?

878


What is myisam?

907


Consider you have the following three tables which have to be linked together.

853


How do I clear the command in mysql?

891