I'm developing a CMS, and when a particularly long entry is in a TEXT field, I'm getting the value cutoff when reading it back.

When investigating the query, the query is fine, so its inserting/updating fine. The problem is the read.

I've tried resolving this with updating the max_allowed_packet value in my.cnf, but this hasn't helped.

Any advice? Thanks!