Sounds like you are reaching to the current type limit. Check this out, https://dev.mysql.com/doc/refman/5.0/en/blob.html
Maybe changing your type to MEDIUMBLOB
or LONGBLOB
instead.
Datafield is already a mediumblob (both the source and target) and the file is only 150kb, so this shouldn't be preventing the query from executing successfully. I am migrating code from straight PHP to Laravel and the PHP code works fine--the Laravel code does not :(
I've gone back and tested the code again and I don't know why, but it's working now. It must have had something to do with clearing a cache file or otherwise that was flushed out during development of other parts of the code.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community