I only get set the text field in MySQL to 255, if I want to store a data longer than 255 chars, what can I do?
Prior to MySQL 5.0.3, a VARCHAR could only store up to 255 characters.
See the storage requirements section of the manual for caveats on their usage.
Versions of MySQL after 5.0.3 can store up to 65535 chars in a VARCHAR (However you cannot store more than 65535 bytes in a single row).
2.1m questions
2.1m answers
60 comments
57.0k users