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?