Mysql ERROR 2013只是从

时间:2015-07-24 19:02:27

标签: mysql

我正在运行MySQL的真正旧版本(3.23.56)。当我想要删除表的所有条目时,一切都很好。我检查了查询,如删除,选择,更新,他们的行为是正确的。即使我使用像delete from t1 where id='5'这样的sql,我也能得到正确的答案。但对于delete from t1(将删除表t1中的所有条目),它显示:

  

第1行的错误2013:查询期间与mysql服务器的连接丢失。

mysqld重启了。即使这张表只有1个条目!

我检查了错误日志。它显示:

Number of processes running now: 0
 Fri Jul 24 13:31:00 CDT 2015
150724 13:31:10  mysqld started
/home/chenyuxi/Desktop/bugs/mysql_169/mysql-build/libexec/mysqld: ready for connections
mysqld got signal 11;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help diagnose
the problem, but since we have already crashed, something is definitely wrong
and this may fail

key_buffer_size=8388600
record_buffer=131072
sort_buffer=2097144
max_used_connections=0
max_connections=100
threads_connected=1
It is possible that mysqld could use up to
key_buffer_size + (record_buffer + sort_buffer)*max_connections = 225791 K
bytes of memory
Hope that's ok, if not, decrease some variables in the equation

我尝试更改全局变量max_allowed_pa​​cket和net_read_timeout,似乎没用。

0 个答案:

没有答案