Maximum length of MySQL text data type

Source: Internet
Author: User
Tags mysql text

Tinytext bytes
TEXT 65,535 bytes ~64kb
Mediumtext 16,777,215 bytes ~16mb
Longtext 4,294,967,295 bytes ~4gb

Http://blog.sina.com.cn/s/blog_71f8aa010100vusp.html

MySQL multiple text field report 8126 error (resolution process)

Row size too large. The maximum row size for the used table type, not counting BLOBs, is 8126. Some columns to TEXT or BLOBs

If you increase the contents of the Schedule_remark field, the above error will be reported. Row size too large. Indicates that there is too much content in the line, that is, there is too much content stored on line 220567. The back of you has the some columns to TEXT or blobs is confusing because the content of the Schedule_remark field does not increase to 65k (the TEXT type is 65k maximum), the above error is reported. It appears that only shortened text content.

The field size of the text type is also limited

A new text field also appears with the above problem.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.