max_allowed_packet Error

MySQL rejects a statement that is larger than the configured packet size.

Common causes

  • • Oversized INSERT statements
  • • Large blobs in a single statement

Best fixes

  • • Split the dump into smaller chunks
  • • Reduce statement size by splitting
  • • Import in order

Quick fix

Split the dump into smaller parts to reduce statement size and import time.

Open SQLSplit

Related guides