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 awayThe 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?
Getting error 2006 MySQL server has gone away on CentOS
centos;mysql
You can run this command mysql --help,and you can find something like Default options are read from the following files in the given order:C:\WINDOWS\my.ini C:\WINDOWS\my.cnf C:\my.ini C:\my.cnf C:\Program Files\MySQL\MySQL Server 5.5\my.ini C:\Program Files\MySQL\MySQL Server 5.5\my.cnfThere is also a manual page talking about MySQL server has gone away 