MySQL Punisher

JSON →
library 2.1.4 ·javascript abandoned
verified Jun 5, 2026

MySQL Punisher (v2.1.4, last updated 2017) is a CLI tool that watches active MySQL queries and kills those exceeding a configurable timeout. It helps prevent long-running queries from exhausting connection pools. The tool runs as a daemon, polling `SHOW FULL PROCESSLIST` at a set interval. While functional for simple cases, it is no longer maintained and lacks support for newer MySQL authentication methods or modern Node.js versions. Alternatives include Percona Toolkit's `pt-kill` or custom scripts using the MySQL sys schema.