Is it possible to create a column for more than 255 char? I tried the "longtext" in the datatype but its character limit is 255. As i need to insert some paragraphs with few hundred of words, any idea how to solve this limitation?
In MySQL 5, a CHAR/VARCHAR field can be up to 65535 characters long. Before that, CHAR/VARCHAR fields are limited to 255 characters, so you would have to use a TEXT field, which allows up to 65536 characters (MEDIUMTEXT and LONGTEXT have higher limits - 2^24 and 2^32 respectively).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.