MySQL - Got a packet bigger than 'max_allowed_packet' bytes
Want to support HowtoForge? Become a subscriber!
Error: MySQL - ERROR 1153 (08S01) at line 138: Got a packet bigger than 'max_allowed_packet' bytesYou see the following error while executing a MySQL query: ERROR 1153 (08S01) at line 138: Got a packet bigger than 'max_allowed_packet' bytes
SolutionOpen your my.cnf file - on Debian/Ubuntu, it's /etc/mysql/my.cnf, on Fedora/RedHat/CentOS, it's /etc/my.cnf - and search for the max_allowed_packet line. I suggest you play around with its value a bit - double or quadruple its value, restart MySQL - on Debian/Ubuntu, the command is /etc/init.d/mysql restart ... and on Fedora/RedHat/CentOS, the command is /etc/init.d/mysqld restart - and see if the error goes away. If not, increase the max_allowed_packet value again.
|



Recent comments
1 day 10 hours ago
1 day 13 hours ago
1 day 14 hours ago
1 day 16 hours ago
1 day 17 hours ago
1 day 19 hours ago
1 day 20 hours ago
2 days 12 hours ago
2 days 13 hours ago
2 days 16 hours ago