List:General Discussion« Previous MessageNext Message »
From:BAUMEISTER Alexandre Date:July 19 1999 11:17am
Subject:Re[3]: mysql_ping() problem
View as plain text  
>>PD> It wasn't clear to me from the original posting (or I've forgotten),
>>PD> but:
>>
>>PD> - Are you changing the gateway after you've already established the MySQL
>>PD>   connection?
>>
>>  Yes.

PD> Isn't that kind of an odd thing to do?

  We  have  two  dedicated  lines,  and  we  are switching the default
  gateway   if   one   of   the  line  gets  down in order to keep the
  service on.




>>PD> - Under the circumstances you describe, does the UNIX ping command work?
>>
>>  Yes.

PD> Does it work if you run it in continuous mode, i.e., to keep sending packets
PD> until you kill it?

  Yes


>>  But  mysql_ping()  hangs  and  returns  only  if  I  get back to the
>>  previous  gateway  (the  one  which was used when the connection was
>>  established).

PD> If you terminate the program and start it up again, does the new instance
PD> connect to the server properly?

  Yes, without any problem.


  Alex.



-----------------------------------------------------------------------
Alexandre BAUMEISTER
Email : alex@stripped

FINANCE NET - 1,rue St Dizier - 54000 NANCY - FRANCE
Ligne directe : +333-83-36-99-26                
Standard      : +333-83-36-58-67                  Fax: +333-83-36-69-44
-----------------------------------------------------------------------


Thread
mysql_ping() problemBAUMEISTER Alexandre13 Jul
  • mysql_ping() problemsinisa14 Jul
    • Re: mysql_ping() problemBAUMEISTER Alexandre15 Jul
      • Re: mysql_ping() problemPaul DuBois15 Jul
        • Re: mysql_ping() problemelble15 Jul
          • Re[2]: mysql_ping() problemBAUMEISTER Alexandre16 Jul
            • Re[2]: mysql_ping() problemMichael Widenius29 Jul
        • Re[2]: mysql_ping() problemBAUMEISTER Alexandre16 Jul
          • Re[2]: mysql_ping() problemPaul DuBois16 Jul
            • Re[3]: mysql_ping() problemBAUMEISTER Alexandre19 Jul