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
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
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