Get the App
SLTechnology News&Howtos  ›  Database  › 

How to solve the problem of data import reporting error Got a packet bigger than'max_allowed_packet'

Shulou Source: shulou.com Published: 2022-05-31 16:56:41 09月30日 Update

This article shows you how to solve the problem of data import error reporting Got a packet bigger than'max_allowed_packet', the content is concise and easy to understand, it will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.

Error reporting in data Import: a problem with Got a packet bigger than'max_allowed_packet'bytes

2 solutions:

1. Temporary modification: > set global max_allowed_packet=524288000; modification # 512m

two。 To modify my.cnf, you need to restart mysql. Www.2cto.com

Add a sentence to the [MySQL] section (if it exists, you can adjust its value):

Max_allowed_packet=10M

The above content is how to solve the problem of data import error reporting Got a packet bigger than'max_allowed_packet'. Have you learned the knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.

Tags: Data questions content skills knowledge conciseness brevity that is articles methods more articles industry information information channels parts channels one bright plus one reserve Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Redmi Xiaomi Linux Docker MariaDB