Mysql config: set max_allowed_packet 256M