There is a MySQL global variable called connect_timeout. Its default value is 5 minutes. Try searching www.mysql.com doc links for details.
Rgds, GStC. -----Original Message----- From: Ing. Branislav Gerzo [mailto:[EMAIL PROTECTED] Sent: Monday, December 06, 2004 9:04 AM To: [EMAIL PROTECTED] Subject: mysql timeout Hi all, maybe this is not perl related, but I am not sure. I'm connecting to mysql, and after I'm executing some queries. Sometimes - when query is too complicated, or I start second complicated query, I get: DBD::mysql::st execute failed: Lost connection to MySQL server during query at... Do you know how to set up this timeout ? I also looked at mysql documentation, but I found nothing what helps. Thanks -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>