Mysql殺程式
mysql> show processlist;
+----+------+------------------+--------------------+-------------+-------+-----------------------------------------------------------------------+------------------------------------------------------------------------------+
| Id | User | Host | db | Command | Time | State | Info |
+----+------+------------------+--------------------+-------------+-------+-----------------------------------------------------------------------+------------------------------------------------------------------------------+
| 1 | repl | linfytest3:57368 | NULL | Binlog Dump | 20957 | Master has sent all binlog to slave; waiting for binlog to be updated | NULL |
| 2 | root | localhost | linfy | Query | 2359 | Waiting for table metadata lock | alter table t_idb_big change is_nullable nullable varchar(3), algorithm=copy |
| 3 | root | localhost | information_schema | Query | 0 | init | show processlist |
+----+------+------------------+--------------------+-------------+-------+-----------------------------------------------------------------------+------------------------------------------------------------------------------+
3 rows in set (0.00 sec)
mysql> kill 2;
Query OK, 0 rows affected (0.01 sec)
+----+------+------------------+--------------------+-------------+-------+-----------------------------------------------------------------------+------------------------------------------------------------------------------+
| Id | User | Host | db | Command | Time | State | Info |
+----+------+------------------+--------------------+-------------+-------+-----------------------------------------------------------------------+------------------------------------------------------------------------------+
| 1 | repl | linfytest3:57368 | NULL | Binlog Dump | 20957 | Master has sent all binlog to slave; waiting for binlog to be updated | NULL |
| 2 | root | localhost | linfy | Query | 2359 | Waiting for table metadata lock | alter table t_idb_big change is_nullable nullable varchar(3), algorithm=copy |
| 3 | root | localhost | information_schema | Query | 0 | init | show processlist |
+----+------+------------------+--------------------+-------------+-------+-----------------------------------------------------------------------+------------------------------------------------------------------------------+
3 rows in set (0.00 sec)
mysql> kill 2;
Query OK, 0 rows affected (0.01 sec)
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/543979/viewspace-1730382/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- MySQL批量殺程式MySql
- 如何批量殺死當前的MySQL程式MySql
- MySQL_殺mysql執行緒MySql執行緒
- MySQL 批量殺mysql執行緒MySql執行緒
- oracle殺程式Oracle
- 檢視MySql資料庫鎖,並殺死對應程式MySql資料庫
- linux批量殺掉程式linux批量殺掉程式Linux
- 殺死殭屍程式
- 批次殺程式指令碼指令碼
- 極客漫畫:誰殺死了 MySQLMySql
- C#強制殺程式C#
- Oracle徹底殺掉程式Oracle
- 殺死Oracle死鎖程式Oracle
- 殺掉鎖死的程式
- MySQL使用pt-kill殺除大SQLMySql
- 批次殺死MySQL連線的幾種方法MySql
- ORACLE中殺掉一個程式Oracle
- 殺掉aspnet_wp程式
- 使用awk批次殺程式的命令
- linux 同時殺多程式Linux
- oracle殺死鎖表的程式Oracle
- 【sqlserver】殺掉所有死鎖程式SQLServer
- linux殺死後臺程式Linux
- shell指令碼按照程式名稱殺死程式指令碼
- MySQL:Innodb如何快速殺掉堵塞會話的思考MySql會話
- MySQL檢視及殺掉連結方法大全MySql
- 自己寫的殺mysql執行緒的指令碼MySql執行緒指令碼
- Linux如何殺掉殭屍程式Linux
- 檢視並殺死殭屍程式
- SAP Basis: 從SAP GUI殺死程式GUI
- 殺掉長期inactive的程式
- ORACLE中殺死鎖程式的方法Oracle
- 批次殺死MySQL連線的四種方法詳解MySql
- 批量殺死MySQL連線的幾種方法詳解MySql
- Linux基礎命令—殺死程式pkillLinux
- windows上殺掉指定名稱的程式Windows
- Linux基礎命令---殺死程式pkillLinux
- Linux基礎命令---殺死程式killallLinux