| List: | General Discussion | « Previous MessageNext Message » | |
| From: | BAUMEISTER Alexandre | Date: | July 16 1999 3:12pm |
| Subject: | Re[2]: mysql_ping() problem | ||
| View as plain text | |||
>> > So I though that Mysql_ping() should not hang. If the server can't >> > be touch, shouldn't the connection be considered as down ? Shouldn't >> > Mysql_ping() attempt a reconnection ? einne> my solution to this was to set an alarm (with an appropriate timeout) einne> before calling mysql_ping, and disconnect/try reconnecting in the signal einne> handler. einne> this works from perl DBI as well, i'm currently using this method in a einne> few of my scripts. Thanks for the tip. Shouldn't Mysql_ping() do that on it's own ? It would be really great and would simplify things. Alex.
| Thread | ||
|---|---|---|
| • mysql_ping() problem | BAUMEISTER Alexandre | 13 Jul |
| • mysql_ping() problem | sinisa | 14 Jul |
| • Re: mysql_ping() problem | BAUMEISTER Alexandre | 15 Jul |
| • Re: mysql_ping() problem | Paul DuBois | 15 Jul |
| • Re: mysql_ping() problem | elble | 15 Jul |
| • Re[2]: mysql_ping() problem | BAUMEISTER Alexandre | 16 Jul |
| • Re[2]: mysql_ping() problem | Michael Widenius | 29 Jul |
| • Re[2]: mysql_ping() problem | BAUMEISTER Alexandre | 16 Jul |
| • Re[2]: mysql_ping() problem | Paul DuBois | 16 Jul |
| • Re[3]: mysql_ping() problem | BAUMEISTER Alexandre | 19 Jul |
