Copyright (C) 2000-2012 |
GNU Info (mysql.info)Packet too large`Packet too large' Error ------------------------ When a MySQL client or the `mysqld' server gets a packet bigger than `max_allowed_packet' bytes, it issues a `Packet too large' error and closes the connection. If you are using the `mysql' client, you may specify a bigger buffer by starting the client with `mysql --set-variable=max_allowed_packet=8M'. If you are using other clients that do not allow you to specify the maximum packet size (such as `DBI'), you need to set the packet size when you start the server. You cau use a command-line option to `mysqld' to set `max_allowed_packet' to a larger size. For example, if you are expecting to store the full length of a `BLOB' into a table, you'll need to start the server with the `--set-variable=max_allowed_packet=16M' option. You can also get strange problems with large packets if you are using big blobs, but you haven't given `mysqld' access to enough memory to handle the query. If you suspect this is the case, try adding `ulimit -d 256000' to the beginning of the `safe_mysqld' script and restart `mysqld'. automatically generated by info2www version 1.2.2.9 |