{"library":"mysql-punisher","type":"library","category":null,"description":"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.","language":"javascript","status":"abandoned","version":"2.1.4","tags":["javascript","mysql","timeout","query","kill","active","time","process","watch"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install mysql-punisher","imports":["mysql-punisher -h localhost -u root -p"]},{"cmd":"yarn add mysql-punisher","imports":[]},{"cmd":"pnpm add mysql-punisher","imports":[]}],"homepage":"https://github.com/faressoft/mysql-punisher#readme","github":"https://github.com/faressoft/mysql-punisher","docs":null,"changelog":null,"pypi":null,"npm":"mysql-punisher","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}