There are a ton of questions in SO about changing the max_allowed_packet
variable for mysql. None of the advice given so far has helped me. I am on OSX 10.10.4 and have the following in ~/.my.cnf
[mysqld]
user = root
password = redacted
general_log=1
log=/var/log/mysql-query.log
max_allowed_packet = 32M
[mysqldump]
max_allowed_packet = 32M
user = root
password = redacted
[mysql]
max_allowed_packet = 32M
I stop the service and make sure it is stopped. Then I restart the service and query:
SHOW VARIABLES LIKE '%max_allowed_packet%';
Which gives me the same:
Variable_name Value
max_allowed_packet 1048576
slave_max_allowed_packet 1073741824
I'm running MySQL 5.5.29 and there are no other config files in any of these places:
/etc/my.cnf
/etc/mysql/my.cnf
/usr/local/mysql/etc/my.cnf
Any help at getting my 1M limit increased will be greatly appreciated and upvoted.