Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^2: mysql_auto_reconnectby BMaximus (Chaplain) |
on Jan 27, 2006 at 16:13 UTC ( [id://526009]=note: print w/replies, xml ) | Need Help?? |
This is not for checking to see if a connection is still active. In fact you won't get anything from this if you use the connection handler. What idle used is to see if the statement handler is still active after execute() is called on it. If you want to check if the connection to the database is still active then you use the $dbh->ping() method.
BMaximus
In Section
Seekers of Perl Wisdom
|
|