MySQL case system ~ MySQL Common log error

Source: Internet
Author: User

Summary: This article is intended to summarize common error summaries for MySQL logs

Case series:

Case 1

Error message: Com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException:The size of blob/text data inserted in one transaction I s greater than 10% of redo log size. Increase the redo log size using innodb_log_file_size.
Analysis: The value of Blob/text is greater than the growth of the redo log
Status: This parameter cannot be changed online
Workaround: mysql5.6 default innodb_log_file_size=50m Add innodb_log_file_size=256m to the configuration file and restart
mysql5.5 need to remove the existing redo log before restarting MySQL
Case 2
Error message Max_allowed_packet setting too small causes Java program write failure
Status: This parameter can be changed online
WORKAROUND: MySQL 5.6 1 max_allowed_packet=32m write config file and restart
2 Set Global max_allowed_packet=33554432

MySQL case system ~ MySQL Common log error

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.