my.ini in the directory where MySQL is installed and inserted
max_allowed_packet=50M under the
[mysqld] section, but when I launch the MySQL command line and do:
show variables like 'max_a%'
It still shows a value of 1048576. I've rebooted the box, but to no avail.
EDIT: I believe the issue was that MySQL was reading one of the (many) other config files (e.g., my-huge.ini). I re-ran the MySQL config wizard and it appears to be honoring the settings in my.ini now.
(btw: Why so many configs?!?)