DEV Community

Krixnaas
Krixnaas

Posted on

Communication link failure:1153 Got a packet bigger than 'max_allowed_packet' bytes"

In etc/my.cnf try changing the max_allowed _packet and net_buffer_length to

max_allowed_packet=100000000
net_buffer_length=1000000

if this is not working then try changing to

max_allowed_packet=100M
net_buffer_length=100K

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay