Solution for MySql to successfully insert data but report [Err] 1055 error, err1055

Source: Internet
Author: User

Solution for MySql to successfully insert data but report [Err] 1055 error, err1055

1. Problem:

In the past two days, the insert operation is performed. mysql version is 5.7. After the insert operation is successful, an error of [Err] 1055 is reported. The details are as follows:

2. solution:

In linux, run vim TO my. cnf and add the following statement:

SQL _mode = NO_ENGINE_SUBSTITUTION, STRICT_TRANS_TABLES

Save and exit. Restart mysql.

3. Test

Check whether the problem is solved.

We can see that there is no error.

Summary

The above is a small series of solutions to the MySql data insertion success but the error [Err] 1055 is reported. I hope to help you. If you have any questions, please leave a message for me, the editor will reply to you in a timely manner. Thank you very much for your support for the help House website!

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.