0

I have a table that store the file content of uploaded file. The datatype of the column is LONGBLOB. when i try to upload file of 9 MB in size show mysql error "mysql goes away". what i am doing in my code is, use file_get_contents to get uploaded file data and save into database table. I think LONGBLOB datatype column does not support heavy file data to store.