MySQL trigger app and create TABLE error code: 1118 Row size too large. Solve

Source: Internet
Author: User

1. For the convenience of database query problem, can establish important table log backup record table, add in Main table, modify, delete add trigger, modify trigger to increase trigger field point, limit condition.

The database log table is more convenient than downloading log files from multiple servers on the line, but the focus of the two is different.

2. Error code: 1118

Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. This includes storage overhead, check the manual. Some columns to TEXT or BLOBs

Method 1: Change the field of large characters such as varchar (2000) in the script that created the table to the text data type

Method 2: Modify the table type, and modify the original default charset=utf8mb4 to UTF8 to solve the problem.

MySQL trigger app and create TABLE error code: 1118 Row size too large. Solve

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.