Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Lost connection to MySQL server

by sundialsvc4 (Abbot)
on Aug 29, 2011 at 22:04 UTC ( [id://923105]=note: print w/replies, xml ) Need Help??


in reply to Lost connection to MySQL server

Since “lost connection” is a highly unusual occurrence, yet one which seems to happen to you regularly-enough to mention, I suggest that you need to get to the bottom of this.   Perhaps, for instance, you are trying to send too much BLOB-data at one time and you are overflowing some buffer and in response MySQL is cutting you off.   Like I said, you need to dig deep enough to find out why this is happening to you and to your program, before you start to try to develop an appropriate solution.   Oh, you might manage to find “a Band-Aid® That Seems To Work,” but it is a faux quest.   Forsooth, if you have not unearthed the root cause, your headaches and heartburn will not end.

Replies are listed 'Best First'.
Re^2: Lost connection to MySQL server
by spstansbury (Monk) on Aug 30, 2011 at 16:14 UTC

    I agree. No BLOB data, though. This is all cable modem data initially acquired via SNMP. I'm hoping that Neighbour's note that you can't execute a second query while still fetching the results of an earlier query is at the root.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://923105]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-03-28 20:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found