Ivan,
Monday, April 29, 2002, 11:29:31 PM, you wrote:

IS> We use the PHPLib classes for our website.
IS> ( http://phplib.sourceforge.net/ )
IS> Now we have a lot of lost connection problems when we use 2 or 3 different
IS> db queries with different db tables !

IS> .....
IS> $db   = new newsDB();
IS> $db->query("SELECT * FROM news ORDER BY HitsOut DESC limit 0,20");
IS> while($db->next_record())
IS> .......

IS> Error message:
IS> MySQL Error: 2013 (Lost connection to MySQL server during query)
IS> Session halted.

IS> Has anybody experience with this problems ?

"Lost connection to MySQL server" mostly occurs when communication bug happens or 
bug in the client takes place.

Look at the following links, they may help you:
     http://www.mysql.com/doc/G/o/Gone_away.html
     http://www.mysql.com/doc/P/a/Packet_too_large.html

IS> Best Wishes,
IS> Ivan





-- 
For technical support contracts, goto https://order.mysql.com/
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Egor Egorov
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.com



---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to