我试图导入一个有十万行的表。我已经增加了以下配置:
sort_buffer_size = 2097152to 4194304
read_buffer_size = 131072to 262144
read_rnd_buffer_size = 262144 to 524288
join_buffer_size = 131072 to 262144
key_buffer_size = 16777216 to 33554432
innodb_buffer_pool_size = 134217728 to 1G
我有4GB内存。我正在尝试导入145MB的SQL文件。错误是
ERROR 2013 (HY000) at line 145: Lost connection to MySQL server during query