$dbh->connect() or die "not connect"; ----- Original Message ----- From: "Adam Gent" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, September 19, 2003 9:20 PM Subject: mySQL, how to tell if the handle is connected
> Hi All, > > I am using mySQL and need away to tell if a connection is open. > > I am aware that there is the Active command, within the DBI but this does > not appear to be supported in DBD::mysql > > Is there any other way to tell if the connection is still open. > > Thanks. > > Adam > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.520 / Virus Database: 318 - Release Date: 18/09/2003 >
