What is the MySQL VARCHAR max size?

I would like to know what the max size is for a MySQL VARCHAR type.

I read that the max size is limited by the row size which is about 65k. I tried setting the field to varchar(20000) but it says that that’s too large.

I could set it to varchar(10000). What is the exact max I can set it to?

8 Answers
8

Leave a Comment