mysql_kill(3) | MariaDB Connector/C | mysql_kill(3) |
mysql_kill - Kills a connection
#include <mysql.h> int mysql_kill(MYSQL * mysql,
unsigned long);
This function is used to ask the server to kill a MariaDB thread specified by the processid parameter. This value must be retrieved by [show-processlist()](SHOW PROCESSLIST]]. If trying to kill the own connection mysql_thread_id(3) should be used.
Returns zero on success, non zero on error.
Version 3.3.1 |