I am having a problem with BLOB fields in my MySQL database - when uploading files larger than approx 1MB I get an error Packets larger than max_allowed_packet are not
Packets larger than max_allowed_packet are not
This error come because of your data contain larger then set value.
Just write down the max_allowed_packed=500M or you can calculate that 500*1024k and use that instead of 500M if you want.
max_allowed_packed=500M
Now just restart the MySQL.