Hello,

Sometimes, my sql is running for a quite long time, e.g. 1 hour

The perl script will warn "DBD::mysql::st execute failed: MySQL server
has gone away at ..." and my script failed.

I have already set the auto reconnect, e.g.

 $dbh->{mysql_auto_reconnect} = 1;

But problem still occur, any idea?


Thanks.






-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to