note 28878 added to function.mysql-query
| From: | Bobie at rack1 dot php dot net | Date: | Sun, 26 Jan 2003 22:01:50 +0000 |
| Subject: | note 28878 added to function.mysql-query | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-42784@lists.php.net to get a copy of this message | ||
When trying to INSERT or UPDATE and trying to put a large amount of text or data (blob) into a mysql
table you might run into problems.
In mysql.err you might see:
Packet too large (73904)
To fix you just have to start up mysql with the option -O max_allowed_packet=maxsize
You would just replace maxsize with the max size you want to insert, the default is 65536
--
http://www.php.net/manual/en/function.mysql-query.php
http://master.php.net/manage/user-notes.php?action=edit+28878
http://master.php.net/manage/user-notes.php?action=delete+28878
http://master.php.net/manage/user-notes.php?action=reject+28878