I need to define a column with the maximum possible length of VARCHAR. This field is primary key. I could not use LONGTEXT. I tried to define it with VARCHAR (65,535)
but this generates error:
ERROR 1071: Specified key was too long; max key length is 3072 bytes
SQL Statement:
When I define: VARCHAR (3072)
, the ame error still appear. What is the maximus size I can use for VARCHAR
?