⇧
vadnica-logo
My Services About the Project Telegram O meni O meni

mysqli_kill()

The mysqli_kill() function sends a request to the server to immediately terminate the MySQL thread specified by the processid parameter.

EXAMPLE
RESULT
The result will be displayed here...

Practical use: This function is used in extreme cases when we want to stop long-running queries that are overloading the server. Each connection has its own unique thread ID, which is obtained using mysqli_thread_id().