Re: Upload large < 100MB of PDFS to MySQL using PHP, Is my settings ok?
| From: | Ian | Date: | Thu, 02 Apr 2009 09:59:20 +0000 |
| Subject: | Re: Upload large < 100MB of PDFS to MySQL using PHP, Is my settings ok? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-290953@lists.php.net to get a copy of this message | ||
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
--