3 messages in com.mysql.lists.perlRe: Hello?
FromSent OnAttachments
Keg21 Apr 2004 07:06 
David Dick21 Apr 2004 13:37 
Keg21 Apr 2004 14:48 
Subject:Re: Hello?
From:Keg (perl@zulu420.com)
Date:04/21/2004 02:48:49 PM
List:com.mysql.lists.perl

David Dick wrote:

if (!defined($dbh1)) { ....

Is this a rock solid way of testing your database connection? Does anyone use $dbh1->ping??? The documentation says that unless you know for sure you need to use the ping() method, your likely don't.

ping has been defined for DBD::mysql so it does work.

the $dbh->{mysql_auto_reconnect} attribute may also be what you want.

Cool thanks all.

_kg