Re: $dbh->ping() not pinging?

2003-01-05 Thread Tim Bunce
I don't know if this is relevant but DBD::mysql checks for a lost connection in many places in the code and will automatically try to reconnect 'behind the scenes' (except when AutoCommit is off). Maybe there's some interaction/bug with that logic. Hopefully a trace would show what's going on. Ti

Re: $dbh->ping() not pinging?

2003-01-04 Thread Michael A Chase
On 04 Jan 2003 00:30:10 -0800 Ask Bjoern Hansen <[EMAIL PROTECTED]> wrote: > > Without the extra ping (see the line following the XXX comment) this > program fails on the second "select ..." with > > "DBD::mysql::db selectrow_array failed: Lost connection to MySQL server > during query at dbite

$dbh->ping() not pinging?

2003-01-04 Thread Ask Bjoern Hansen
Without the extra ping (see the line following the XXX comment) this program fails on the second "select ..." with "DBD::mysql::db selectrow_array failed: Lost connection to MySQL server during query at dbitest line 19." Why do I need to ping twice? I am using perl 5.6.1, DBI 1.21 and DBD::my