Error when executing insert on MySQL database: Column count doesn ' t match value count at row 1

Source: Internet
Author: User

After encountering this problem, the first reaction is caused by the number of columns, but I check the SQL, found that the number of columns is the same, but the insertion is still a problem, and then write a simple SQL Insert is not empty field, execute or report this error, finally consulted the expert, after pointing, Probably because the currently inserted table is locked, and then execute the following SQL, before SQL can be inserted into the normal

LOCK TABLES ' System_function_info ' WRITE; UNLOCK TABLES;

Error when executing insert on MySQL database: Column count doesn ' t match value count at row 1

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.