Jump to content

Big Mysqli Query = Dead Connection


neoform

Recommended Posts

It took me about two hours to track down the problem, but it seems a large INSERT has been killing my mysqli connection (in PHP). The query inserts 1 row with a serialized array in one of the fields. The query is 1.1MB, which seems to hose the connection.

 

So, the question is, what is the size limit for a given mysqli query? Is this a mysql configration issue, or a mysqli limitation? My mysql wait timeout isn't being reached, since I set it to 900 seconds and the page is dying after about 20 seconds..

Link to comment
https://forums.phpfreaks.com/topic/130467-big-mysqli-query-dead-connection/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.