然后杀死这个会话。 mysql>kill 10241 则这个会话出错。 (root@192.168.154.190) [world]> select connection_id() -> ; ERROR 2013 (HY000): Lost connection to MySQL server during query (root@192.168.154.190) [world]>
显示当前所有的连接会话(包括系统的) (root@192.168.154.190) [world]> SHOW FULL PROCESSLIST -> ; ERROR 2006 (HY000): MySQL server has gone away No connection. Trying to reconnect... Connection id: 14556 Current database: world