you should be able to edit it in /etc/my.cnf (or wherever your mysql configuration is located). Once there, insert the directive "max_allowed_packet=16M" (or whatever other size) in the [mysqld] section and restart MySQL to have the change take effect