Database import-SQL script insert statement too long, import error

Source: Internet
Author: User
Tags import database
The error "MySQLserverhasgoneaway & quot;" was reported when I imported an SQL script using mysql today. it was detected that too much data was inserted in "insert... value. Modify the configuration file: 1. tmp_table_size2.max_allowed_packet still reports the same error. I am so worried. Ps: it is best to adjust mysql configuration parameters because SQL is not written by myself. Import database to mysql

When I imported an SQL script using mysql today, the error "MySQL server has gone away" was reported. it was detected that too much data in "insert... value..." could not be inserted. And then modify the configuration file:

1. tmp_table_size 2. max_allowed_packet

The same error is still reported. I am so worried.

Ps: it is best to adjust mysql configuration parameters because SQL is not written by myself.

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.