Rohit Baisakhiya wrote:
,----
| if it reads value 0 it will connect the master db server and if it
| gets value 1 it will connect slave server.
`----
What you should rather do is to run a local nameserver that does a
round-robin rotation for your mysql server.
-Suraj
--
,-----------------[http://www.symonds.net/~suraj/]---o
| VaraaLi is said to be an inauspicious raga to teach.
`------------------------------[suraj@xxxxxxxxxxx]---o