I'm trying to set the max_allowed_packet
variable in MySQL (MAMP 3.0.6). I have created my.cnf
in /Applications/MAMP/conf
with the following content:
[mysqld]
max_allowed_packet = 256M
I have restarted MAMP but the changes refuse to pick up. PHPMyAdmin still shows 4,194,304
for "max allowed packet" in the "Variables" section.
What am I missing?
The path to my.cnf
should be /Applications/MAMP/Library/my.cnf
.