Hi!

I am uploading files to a MySQL database. It all works fine for relatively small files. The biggest I was able to upload was 926K.

However, when I try to upload a 1.3M file I get the following error message:

"Unable to upload file. Error: MySQL server has gone away".

My php.ini settings are:

<input type="hidden" name="MAX_FILE_SIZE" value="100000">
post_max_size = 50000000
upload_max_filesize = 40000000
memory_limit = 50000000
max_execution_time = 1800

My column type setting is: LONGBLOB

Can anyone help?

Thanks
Renato







---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to