So I have a box that includes a mysqldump file executed at provision. The problem now is that I need to increase the max_allowed_packet variable before execute this script.
How can I do something like:
max_allowed_packet = 128M >> /etc/my.cnf
but rather than at the EOF do it after the