logo       

Re: lost connectioin error!!: msg#01133

db.mysql.general

Subject: Re: lost connectioin error!!

On Friday, 28. June 2002 19:29, Anil Garg wrote:

Hi Anil,

> Now, when i run the following query:
> mysql> select * from xoops_groups_modules_link where type='R' and mid=2 and
> groupid=3 ;
> ERROR 2006: MySQL server has gone away
> No connection. Trying to reconnect...
> Connection id: 1
> Current database: xoops
>

Looks like your query is too slow and you will get a timeout.
Add an index to type and mid (or if possible a multi-column index) and try it
again.

Regards

Georg

---------------------------------------------------------------------
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 <mysql-thread113382@xxxxxxxxxxxxxxx>
To unsubscribe, e-mail
<mysql-unsubscribe-gcdmg-mysql=m.gmane.org@xxxxxxxxxxxxxxx>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise