MySQL server has gone away
While importing a mysql dump file, I was receiving an error “MySQL server has gone away”. The reason is that the maximum allowed packet size was less than the dump file size.
Edit “my.ini” file and update the value for
max_allowed_packet = XXM
where XX is the maximum size.
This should fix the issue.
