Mysql-error 1235 (42000)

Source: Internet
Author: User
Tags one table
1.1.1 Phenomenon

When exporting a MySQL database to a file, the following error occurs when importing:

ERROR 1235 (42000) at line 267:this version of MySQL doesn ' t yet support ' multiple triggers with the same action time and Event for one table '

1.1.2 Reasons

The exported content contains triggers, so this error occurs when importing.

1.1.3 Solution

When exporting, add the--triggers=false parameter, turn off the trigger, but this will cause the trigger to not be exported, but also to find another way to guide the trigger, command example:

Mysqldump-u ROOT-P1--triggers=false I2goods>d:\i2.sql

Mysql-error 1235 (42000)

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.