Every time i changed the my.cnf file to 32M when I restarted the server the ‘max_allowed_packet’ variable was defaulted back to 1M
$yesterday = date(‘Y-m-d’, mktime (0,0,0,date(‘m’),(date(‘d’)-1),date(‘Y’))); WHERE var BETWEEN UNIX_TIMESTAMP(‘$yesterday 00:00:00′) AND UNIX_TIMESTAMP(‘$yesterday 23:59:59′)
Having just gone back to heavily using MAMP I was getting a little fed up with only being able to access the MySql database through phpMyAdmin so I figured I’d have a proper look at getting access through Navicat. I’d tried this hurriedly before – turns out it’s very simple. On your MAMP start screen [...]