View Full Version : PHP Upload MySQL server has gone away

08-29-2007, 08:43 PM
I created an upload script which works fine with smaller files. When I try to upload a larger file I get MySQL server has gone away.


I did a little research and saw that it may be the max_allowed_packet size on the MySQL server so I set it to 160000000, but I still get the same error.

Any thoughts?

08-29-2007, 09:07 PM
google the error..

08-29-2007, 09:27 PM
Thank you for the suggestion. I had googled it already and have read through this post.


I tried a few things that I thought it might be based on the fact that I can upload files fine under a certain size, but I am still getting the error.

08-29-2007, 11:18 PM
maybe you should ask in the mysql forum ill ask a mod to move thread for you.