[root@ankh-th ~]# mysql -u test -p test
Enter password:
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1
Server version: 5.1.35 PLD Linux Distribution MySQL RPM
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> create table x (a int);
Query OK, 0 rows affected (0.00 sec)
mysql> select 1 from x;
ERROR 2013 (HY000): Lost connection to MySQL server during query
mysql> Bye
[root@ankh-th ~]#
a simplified case to trigger a crash:
[root@ankh-th ~]# mysql -u test -p test
Enter password:
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1
Server version: 5.1.35 PLD Linux Distribution MySQL RPM
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> create table x (a int);
Query OK, 0 rows affected (0.00 sec)
mysql> select 1 from x;
ERROR 2013 (HY000): Lost connection to MySQL server during query
mysql> Bye
[root@ankh-th ~]#