logo       

Re: ERROR 2006:MySQL server has gone away: msg#01102

db.mysql.general

Subject: Re: ERROR 2006:MySQL server has gone away

Hi,
Thanx for ur mail
I dont know how to open the ping connection u have told about.:(
and i dont have a my.conf file on my macnine:((
What to do now?
thanx
anil
> Keep an open ping connection to the database server to see about lost
> packets. Or edit your my.conf to and set the
>
> [mysql]
> set-variable = connect_timeout=2
>
> to something higher. If you do an up arrow and enter again it will
> reconnect and submit the query though.
>
>
>
> Chris
>
> http://www.mysql.com/doc/O/p/Option_files.html
>
> -----Original Message-----
> From: Anil Garg [mailto:anilg@xxxxxxxxxx]
> Sent: Friday, June 28, 2002 10:57 AM
> To: mysql@xxxxxxxxxxxxxxx
> Subject: ERROR 2006:MySQL server has gone away
>
> Hi,
>
> I have a table with the following description:
> mysql> describe xoops_groups_modules_link;
> +---------+---------+------+-----+---------+-------+
> | Field | Type | Null | Key | Default | Extra |
> +---------+---------+------+-----+---------+-------+
> | groupid | int(5) | | MUL | 0 | |
> | mid | int(5) | | | 0 | |
> | type | char(1) | | | | |
> +---------+---------+------+-----+---------+-------+
> with the folloing contents in it:
> mysql> select * from xoops_groups_modules_link;
> +---------+-----+------+
> | groupid | mid | type |
> +---------+-----+------+
> | 1 | 1 | A |
> | 1 | 2 | A |
> | 1 | 1 | R |
> | 1 | 2 | R |
> | 2 | 1 | R |
> | 2 | 2 | R |
> | 3 | 1 | R |
> | 3 | 2 | R |
> +---------+-----+------+
> 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
>
> ERROR 2013: Lost connection to MySQL server during query
>
> I cant find out why its happening so!!
> Can someone plz help me.
>
> Infact this table is dumped from a dump. If i create a same table by
> myself
> and then run the same query it executes fine. Isn't that strange!!
>
> thanx
> anil
>
>
>
> ---------------------------------------------------------------------
> 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-thread113341@xxxxxxxxxxxxxxx>
> To unsubscribe, e-mail
> <mysql-unsubscribe-chrisw=shift2solutions.com@xxxxxxxxxxxxxxx>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>
>
>
>


---------------------------------------------------------------------
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-thread113351@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