...

View Full Version : PHP Upload MySQL server has gone away



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

Undecided

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?

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

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

http://dev.mysql.com/doc/refman/5.0/en/gone-away.html

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.

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



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum