mysql - a mysql handle, which was previously allocated by mysql_init() or mysql_real_connect().
long - process id
This function is used to ask the server to kill a MariaDB thread specified by the processid parameter. This value must be retrieved by . If trying to kill the own connection should be used.
Returns 0 on success, otherwise nonzero.
int mysql_kill(MYSQL * mysql,
unsigned long);