I am trying to import an 11.1 GB .sql file that was sent to me by a colleague. It was created through mysqldump, and I am attempting to import it. When I do import it, I always get the "MySQL server has gone away" error after about one hour. The server is local (run by my machine), and the file is local as well. I am on OS X
- When importing, the activity monitor shows that mysql is only using around 1-2% of the cpu and about 4MB of real memory
- My understanding is that mysql uses default values on macs, and the default timeout time is 8 hours. This error pops up well before 8 hours
- I have increased the max allowed packet size to 100mb and am currently running it with a 1G packet size
I have done some looking around, but don't see much. Most people suggest fixing the packet size or the timeout wait. What type of packet size should be considered reasonable?
edit: The max allowed packet size of 1G did not work.