aradhya Posted October 16, 2010 Share Posted October 16, 2010 so I am trying to upload a file larger than I mb it shows me this error-Checking:Mysql server has gone away.... I checked the max_allowed_packet on my servers settings and it is limited to 1Mb....so my question is how do i change it???....i am using a free server to host my website....all the solutions i got were related to changing on a test server using -msql --max_allowed_packet....something like that....please help... Link to comment Share on other sites More sharing options...
justsomeguy Posted October 17, 2010 Share Posted October 17, 2010 Are you trying to store the file data in the database? It will be more efficient to store only the filename and keep the data on disk instead. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.