# How one connection kills a database

DevFeed: [How one connection kills a database](<https://devfeed.tech/articles/how-one-connection-kills-a-database-2325.md>)

Original publisher: [Read original article](<https://planetscale.com/blog/debugging-live-database-connections>)

Author: Simeon Griggs

Published: 2026-08-31T00:00:00Z

Content type: article

Language: en

Sources: [Blog -- PlanetScale](<https://devfeed.tech/sources/blog-planetscale.md>)

Topics: [debugging](<https://devfeed.tech/topics/debugging.md>), [migration](<https://devfeed.tech/topics/migration.md>), [dashboards](<https://devfeed.tech/topics/dashboards.md>), [vitess](<https://devfeed.tech/topics/vitess.md>)

Tags: [app](<https://devfeed.tech/tags/app.md>), [cli](<https://devfeed.tech/tags/cli.md>), [database](<https://devfeed.tech/tags/database.md>), [debugging](<https://devfeed.tech/tags/debugging.md>), [errors](<https://devfeed.tech/tags/errors.md>), [exception](<https://devfeed.tech/tags/exception.md>), [github](<https://devfeed.tech/tags/github.md>), [management](<https://devfeed.tech/tags/management.md>), [migration](<https://devfeed.tech/tags/migration.md>), [mysql](<https://devfeed.tech/tags/mysql.md>), [postgres](<https://devfeed.tech/tags/postgres.md>), [product](<https://devfeed.tech/tags/product.md>), [transactions](<https://devfeed.tech/tags/transactions.md>), [vitess](<https://devfeed.tech/tags/vitess.md>)

## AI overview

The article explains how an unclosed database transaction can block a migration and queue later queries, causing downtime. It discusses diagnosing live MySQL and Postgres connections and preventing stuck Postgres transactions with a timeout.

## Source excerpt

Unblock stuck connections with live connection management in the PlanetScale CLI and dashboard