Abdullah Ibn Hamad Al-Marri wrote:
Invalid SQL:

                INSERT IGNORE INTO session
                    (sessionhash, userid, host, idhash, lastactivity, location, 
styleid, languageid, loggedin, inforum, inthread, incalendar, badlocation, 
useragent, bypass, profileupdate)
                VALUES
                    ('49778b903012cc3dba1481897dcb5749', 0, '62.68.61.2', 
'ab1219e33a7fca1808ca880a806b6383', 1155125518, 
'/showthread.php?t=5311&page=4', 0, 0, 0, 21, 5311, 0, 0, 'Mozilla/4.0 
(compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)', 0, 0);

MySQL Error  : MySQL server has gone away
Error Number : 2006
Date         : Wednesday, August 9th 2006 @ 12:13:16 PM
Script       : http://bb.wearab.net/showthread.php?t=5311&page=4

There's nothing wrong with this query as far as I can see (maybe misaligned quotes, didn't check), but I don't think that's the problem.

Check:
http://dev.mysql.com/doc/refman/5.0/en/gone-away.html

It's probably timeout from the server and it usually comes out of TCP timeout (the admin should take care of it) or executing queries with closed db handles in your code (you should care for it).

If you're sure it's not your fault, (and you do have privileges) send that page to the admin and ask him for a better network! ;)

cheers,
--renato

PS: This error message is subject to forums like this quite often, if you had googled for the error message you'd check that the page I'm referring to is the first match.

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to