Yao shows you how to
stop a running query
on an RDS instance running MySQL

I started a query, but I want to stop (kill) the query before it finishes. How do I stop the query?

To stop (kill) a running query on an Amazon Relational Database Service (Amazon RDS) DB instance that is running MySQL, see Killing a Session or Query.

Both queries require that you use a thread ID when calling the command. For steps to check running queries and their thread IDs, see How do I check running queries for my Amazon RDS MySQL instance?

Did this page help you? Yes | No

Back to the AWS Support Knowledge Center

Need help? Visit the AWS Support Center

Published: 2017-02-15

Updated: 2019-02-06