SQL traffic viewer that proxies PostgreSQL, MySQL, and TiDB with zero code changes

AI-generated summary of reporting by GitHub Opensource Projects. Read the original for the full story.

Why it matters

Developers can now inspect every SQL query their app sends to PostgreSQL, MySQL or TiDB in real time without changing any application code, shortening database debugging.

Read this as

SQL Tap is a free, open-source debugging tool that acts as a middleman, or proxy, between an application and its database. Instead of modifying code, developers simply point their app at the proxy, which listens on port 3307 for MySQL and 5433 for PostgreSQL, and then view every query in a web browser at localhost:1080. It shows the raw queries, how long each took, error messages and row counts. It suits developers debugging slow or unexpected database behaviour in local or staging environments.

SQL Tap is a lightweight, Go-based proxy for PostgreSQL, MySQL and TiDB that requires no code changes, schema migrations, driver plugins or external dependencies like Redis. The zero-friction setup is the core selling point against heavier monitoring and application performance management tools, which typically demand configuration. It is positioned as a temporary debugging aid rather than a monitoring replacement, so it gains developers time but does not displace existing observability spend.

SQL Tap is a single Go binary proxying PostgreSQL, MySQL and TiDB traffic transparently, capturing each SQL statement with timing, error codes and affected-row counts into a web UI on port 1080. Apps connect via default ports 3307 (MySQL) and 5433 (PostgreSQL), configurable through --proxy-mysql-addr and --proxy-pg-addr. TLS is supported, and no external store is needed. The article gives no performance-overhead benchmarks and explicitly excludes APM functionality.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

SQL Tap PostgreSQL MySQL TiDB Docker Node.js

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading