Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You may be violating the <code>max_allowed_packet</code> setting. See <a href="http://dev.mysql.com/doc/refman/5.0/en/packet-too-large.html" rel="nofollow">here</a> for more data.</p> <p>Quote,</p> <blockquote> <p>If you are using the mysql client program, its default max_allowed_packet variable is 16MB.</p> </blockquote> <p>If you are uploading uncompressed images, this value is fairly easy to reach.</p> <p>Also, it would be great if you could name the specific database interface class that you use (PDO? mysql_? mysqli_?), as different classes handle errors differently. It could just as well not handle an oversized packet situation at all.</p> <p>P.S.: You should really be checking your logs for the specific error you encounter. The first place to look for would be <code>/var/log/mysql/error.log</code> (could vary depending on your env)</p> <p><strong>Update:</strong> <code>mysql_error()</code> returned <code>"MySQL server has gone away"</code></p> <blockquote> <p>From the manual pages for the error: "You can also get these errors if you send a query to the server that is incorrect or too large. If mysqld receives a packet that is too large or out of order, it assumes that something has gone wrong with the client and closes the connection. If you need big queries (for example, if you are working with big BLOB columns), you can increase the query limit by setting the server's max_allowed_packet variable, which has a default value of 1MB. You may also need to increase the maximum packet size on the client end..."</p> </blockquote> <p>(quote courtesy of @Colin Morelli)</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload