Re: Got a packet bigger than 'max_allowed_packet' bytes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> 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
> -----

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux