Lost connection

Lost connection

am 08.07.2002 09:22:26 von Thomas Jalsovsky

Hello all,

I'm new on this list and I'm not sure that my problem cohere with
perl-mysql module.
I'm using perl-5.8.0 on a RedHat 7.2 server (with some Rawhide
upgrades). mysql-3.23.49 (from source), DBD-mysql-2.1017, DBI-1.27
I have a perl script which runs in daemon mode and uses MySQL for
data manipulation. When I start the script some queries are procesessed
(I don't know an exact number, sometimes 5, somtimes 9 queries,...) and
after that I get:
DBD::mysql::st execute failed: Lost connection to MySQL server during
query
After this error message the script is working fine (there is a while
cycle for asking queries), no any lost connection (the script run 3 days
without any other error). When I restart the script the lost connection
appears again... (the lost connection error is on random queries).
I use forking (2 childs and the parent are using the same
connection).

What am I doing wrong? What should I look for?

Thanks in advance,
Thomas



------------------------------------------------------------ ---------
Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
posting. To request this thread, e-mail msql-mysql-modules-thread1855@lists.mysql.com

To unsubscribe, send a message to the address shown in the
List-Unsubscribe header of this message. If you cannot see it,
e-mail msql-mysql-modules-unsubscribe@lists.mysql.com instead.