I'm trying to load mysqldump
and I keep getting following error:
ERROR 2013 (HY000) at line X: Lost connection to MySQL server during query
/etc/my.cnf
:
[mysqld]
max_allowed_packet = 16M
net_read_timeout = 30
net_write_timeout = 60
...
[mysqldump]
max_allowed_packet = 16M
I tried to increase these values, but I keep getting that error no matter what( What else can I do to overcome this error?
[mysql]
section of the config, as well? (Not[mysqladmin]
though).SELECT @@MAX_ALLOWED_PACKET;
to confirm that the server is using these values?mysqldump
(notmysqldadmin
), should I just keepmax_allowed_packet
or addnet_read_timeout
&net_write_timeout
as well?