I need to import a database into a freshly created CentOS 5 virtual machine. However, whenever I run the import command on the console, it stops working in about a minute and I get the error message:
ERROR 2006 (HY00) at line 818: MySQL server has gone away
The only place that MySQL looks for my.cnf (as far as I can tell) is /etc, and I changed the timeout in that configuration, but it doesn't seem to have had any effect. Yet if I make a syntax error, it seems that MySQL is sensitive to that.
My feeling is that there must be a some other .cnf file that is being used after the one that I am modifying, but I can't seem to find it.
Does anyone have any ideas of what else I can do to try to solve this problem?
