Re: Got a packet bigger than 'max_allowed_packet' bytes
| From: | Rene Veerman | Date: | Mon, 01 Feb 2010 21:36:19 +0000 |
| Subject: | Re: Got a packet bigger than 'max_allowed_packet' bytes | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-301721@lists.php.net to get a copy of this message | ||
yea, try executing the sql statement
set global max_allowed_packet = 500 * 1024 * 1024;
from php?? (note; it sets it to 500mb)
not sure if your mysql server will allow this.
on shared hosting, you can expect they disabled the ability to change
it from php..
On Mon, Feb 1, 2010 at 10:27 PM, saeed ahmed <saeed.sas@gmail.com> wrote:
> Thank you, I also think so its a mysql problem.
>
> anyway do you have any method for increase the max_allowed_packet from a php
> script?
>
>
>
> -----
> Regards
> Saeed Ahmed
> http://saeed05.wordpress.com
> -----