A KILLED QUERY error occurs when MySQL stops a statement before it finishes. The database server aborts the query when it exceeds limits such as execution time, lock wait, packet size, or resource usage. WordPress records the event in the debug log and will show a generic 500 response.
Typical triggers include long‑running SELECTs on large tables, missing indexes, or manual kill commands. The platform enforces a 60‑second timeout and a 750 ms slow‑query threshold, and any breach results in the query being terminated.