I am trying to UPDATE a mysql TEXT data-type column with a string contains near 6,000 characters inside (6 kb data-size). Then the column is not updated with that data.
Then when i test this column by updating with test data around 100 characters, it works.
So, is there any limit on mysql query processing?
If so, how can i adjust it?
I’m using XAMPP on MacOSX.
Try escaping your data properly. Your data would be truncated rather than denied (by default) by MySQL if it wouldn’t fit. The max size for TEXT field is 64kb.
If your data contains characters like ‘ and ” your query could fail. Add proper error handling to determine where and why things go wrong and escape your data accordingly.