PDF (US Ltr)
- 5.2Mb
PDF (A4)
- 5.2Mb
HTML Download (TGZ)
- 2.7Mb
HTML Download (Zip)
- 2.7Mb
Syntax:
cnx.cmd_process_kill(mysql_pid)
Deprecation
This MySQL Server functionality is deprecated.
Asks the server to kill the thread specified by
mysql_pid
. Although still available, it is
better to use the KILL
SQL statement.
Returns a dictionary containing the OK packet information.
The following two lines have the same effect:
>>> cnx.cmd_process_kill(123)
>>> cnx.cmd_query('KILL 123')