Re: Upload large < 100MB of PDFS to MySQL using PHP, Is my settings ok?

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

 



On 2 Apr 2009 at 15:33, Louie Miranda wrote:

> Guys,
> 
> I need help on the php and mysql configurations.
> 
> I want to be able to upload < 100MB to MySQL using PHP.
> 
<snip>

> > max_allowed_packet = 5M

Hi,

This may be the one that's stopping it.  

max_allowed_packet:
http://dev.mysql.com/doc/refman/5.0/en/server-system-
variables.html#sysvar_max_allowed_packet

If the SQL statement you are using goes over 5Mb, MySQL will cut the connection with an 
error.  It is strange that you are not seeing an error in your code thought.

Regards

Ian
-- 

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