How to stop a running mysql query

前端 未结 3 1176
陌清茗
陌清茗 2020-12-10 01:29

How do I stop a running mysql query programmatically?

The problem I\'m facing is that a query is constructed using user supplied data, and may occasionally take a v

3条回答
  •  既然无缘
    2020-12-10 02:02

    SHOW PROCESSLIST;
    KILL ;
    

    Refer to the documentation for additional details

    Show The Process List

    Kill A Running Thread

提交回复
热议问题