Parameter to allow huge data to insert
suggest changeA row, including images or videos stored in columns, must fit in one packet. Raise max_allowed_packet to at least the largest statement you will send.
max_allowed_packet = 16M
In option files, K, M, and G are kibibytes, mebibytes, and gibibytes (powers of 1024), not powers of 1000. The server and the client both have this limit. Raising only the server still fails if the client default is smaller. MySQL 8.0’s default is 64M. The absolute maximum is 1G.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents