Re: mod_perl/Apache::DBI

[prev] [thread] [next] [Date index for 2005/04/06]

From: Andy Grundman
Subject: Re: mod_perl/Apache::DBI
Date: 22:49 on 06 Apr 2005
Vince Veselosky wrote:
> I had a similar problem but approached it in a different way. 
> Apache::DBI can tell when the handle goes stale IFF the DBD implements 
> the 'ping' method. The standard MySQL driver apparently does not 
> implement said method, but I found some pointers in the man page that 
> showed a simple way to implement one. So I placed the following code in 
> a .pm file and load it early in the startup.pl. This has solved all my 
> problems in that area.Hope it helps you.

Does anyone know why the standard DBD::mysql module doesn't include this 
ping method?  Shouldn't it have been added long ago?

-Andy

(message missing)

mod_perl/Apache::DBI
e-just 16:07 on 06 Apr 2005

Re: mod_perl/Apache::DBI
Perrin Harkins 18:41 on 06 Apr 2005

Re: mod_perl/Apache::DBI
Vince Veselosky 22:35 on 06 Apr 2005

Re: mod_perl/Apache::DBI
Andy Grundman 22:49 on 06 Apr 2005

Re: mod_perl/Apache::DBI
Perrin Harkins 22:53 on 06 Apr 2005

Re: mod_perl/Apache::DBI
Vince Veselosky 23:10 on 06 Apr 2005

Re: mod_perl/Apache::DBI
Perrin Harkins 23:25 on 06 Apr 2005

Re: mod_perl/Apache::DBI
Vincent E. Veselosky 01:05 on 07 Apr 2005

Re: mod_perl/Apache::DBI
=?ISO-8859-1?Q?Ask_Bj=F8rn_Hansen?= 02:12 on 07 Apr 2005

Generated at 14:42 on 11 Apr 2005 by mariachi v0.52