Skip to content
| Marketplace
Sign in
Visual Studio Code>Data Science>DripDB — Database Connections for DripGrep & DripViewNew to Visual Studio Code? Get it now.
DripDB — Database Connections for DripGrep & DripView

DripDB — Database Connections for DripGrep & DripView

dripgrep

|
2 installs
| (0) | Free
Manage MySQL and PostgreSQL connections securely and search/browse live databases inside DripGrep and DripView
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info
DripDB logo

DripDB — Database Connections for DripGrep & DripView (dripgrep.dripdb)

Securely store MySQL and PostgreSQL connections once and search or browse live databases from DripGrep and DripView.

MySQL PostgreSQL DripGrep Integration DripView Integration AI-Native Development MIT License

DripDB live database integration in VS Code
DripDB (amber) powering live MySQL & PostgreSQL search in DripGrep (Formats + 2 DB) and live database tabs in DripView (chinook MySQL).

▶ Watch the 2-minute ecosystem walkthrough (DripGrep + DripView + DripDB)

2-minute ecosystem walkthrough video (DripGrep + DripView + DripDB)
2-minute walkthrough (1080p MP4) — Cross-format search in DripGrep, relational trace into DripView, @dripview AI Postgres join & chart, and live DripDB browsing. Click the preview to watch.

Getting Started

  1. Add a database connection — Use any of these entry points (MySQL or PostgreSQL; passwords are stored in VS Code SecretStorage, never in settings):
    • Command Palette: Ctrl+Shift+P / Cmd+Shift+P → DripDB: Add Database Connection (or DripDB: Manage Connections).
    • Explorer sidebar: Open the DripDB Connections section and click +.
    • Inside DripGrep: Open Formats ▾ → + Add under Databases (MySQL / Postgres).
    • Inside DripView: Run DripView: Open Database or click + in the Schema sidebar → Add New Database Connection….
  2. Search in DripGrep (dripgrep.dripgrep) — Your saved connections automatically appear inside the Formats ▾ popout alongside local file formats, with per-connection checkboxes:
    • Text / Regex mode: Searches cached table & column schemas instantly (All or Schema scope); leave the box empty in Schema mode to browse all tables and columns.
    • Col : Value mode: Press Enter to run read-only, parameterized row lookups across matching columns.
  3. Browse & join in DripView (dripgrep.dripview) — Open a connection directly or combine it with local files:
    • Open straight into a viewer tab via DripView: Open Database, the DripDB Connections Explorer tree, or the ↗ button next to a connection/result in DripGrep.
    • Or attach a saved connection into any open Parquet, CSV, DuckDB, or SQLite viewer tab via the Schema sidebar + button or DripView: Attach Database to JOIN live MySQL or PostgreSQL tables with local datasets in SQL.

Features

  • Single shared connection store — Add and test MySQL and PostgreSQL connections via the DripDB Connections Explorer view (dripgrepDb.addConnection, dripgrepDb.manageConnections), with passwords stored in VS Code SecretStorage (context.secrets) and never written to settings.json, URIs, or CLI args.
  • dataSearchSource v1 (dripgrep.dripgrep) — Surfaces saved connections in DripGrep's Formats ▾ popout (with per-connection toggles and a ↗ button to open directly in DripView):
    • Text / Regex mode: Searches cached INFORMATION_SCHEMA metadata (Schema / All scopes) with zero table scans; supports empty / . schema browsing across all tables and columns.
    • Col : Value mode: Executes read-only, parameterized WHERE col = ? / $1 (or LIKE/ILIKE) queries on Enter with MAX_EXECUTION_TIME / statement_timeout timeouts, automatic type filtering (skipping incompatible/binary columns), bare-* wildcard protection, and optional dripgrepDb.indexedColumnsOnly / dripgrepDb.maxUnindexedTableRows guardrails.
  • dataConnectionProvider v1 (dripgrep.dripview) — Resolves dripdb://mysql/<id> and dripdb://postgres/<id> URIs in-process for DripView via a push-only trusted-recipient credential handoff (deliverCredentials → dripgrep.dripview, configurable via dripgrepDb.trustedCredentialExtensions; passwords are never exposed on a public pull API), plus parameterized native mysql2 and pg read-only fallbacks (getTableData(..., where) with LIMIT + 1 large-table-safe estimated counts, describeTable, and on-demand countTableRows).

Drip Ecosystem

Each tool works standalone and integrates seamlessly when installed together (code --install-extension dripgrep.<id>):

Project Role Links
DripDB (this extension) Secure MySQL & PostgreSQL connection provider (dripgrep.dripdb) VS Code Marketplace · Open VSX · GitHub
DripGrep Ctrl+Shift+F-style Data Search sidebar (dripgrep.dripgrep) VS Code Marketplace · Open VSX · GitHub
DripView DuckDB, Parquet, Arrow, SQLite, Excel & CSV/TSV viewer + @dripview AI (dripgrep.dripview) VS Code Marketplace · Open VSX · GitHub
dripgrep CLI Standalone Rust CLI & Python (uvx dripgrep) search engine GitHub

Settings

  • dripgrepDb.queryTimeoutMs (default 5000) — MAX_EXECUTION_TIME / statement_timeout timeout in ms.
  • dripgrepDb.indexedColumnsOnly (default false) — Skip unindexed columns in Col : Value searches.
  • dripgrepDb.maxUnindexedTableRows (default 500000) — Skip unindexed columns on large tables (0 disables).
  • dripgrepDb.maxMatchesPerTable (default 100) — Max rows returned per table/column query.
  • dripgrepDb.trustedCredentialExtensions (default ["dripgrep.dripview"]) — Extension IDs permitted to receive credentials via push handoff for DuckDB ATTACH; clear this list to force proxy-only queries without sharing passwords.

Development & Testing

npm install
npm run typecheck
npm run build
npm test

To run the optional live MySQL or PostgreSQL integration tests (e.g., against Chinook):

DRIPGREP_TEST_MYSQL_HOST=127.0.0.1 DRIPGREP_TEST_MYSQL_DB=chinook DRIPGREP_TEST_MYSQL_USER=test DRIPGREP_TEST_MYSQL_PASSWORD=test npm test
DRIPGREP_TEST_PG_HOST=127.0.0.1 DRIPGREP_TEST_PG_DB=chinook DRIPGREP_TEST_PG_USER=test DRIPGREP_TEST_PG_PASSWORD=test npm test

AI-Native Development

This project is built using an AI-native workflow: AI coding agents write a large share of the implementation, while architecture, design decisions, review, and automated verification are human-directed. Every change is still expected to meet normal engineering standards — clean architecture, strict typing, tests, and real verification against actual databases.

Contributions: AI-assisted PRs and issues are explicitly welcome (see CONTRIBUTING.md). The bar is the same regardless of how the code was written: keep changes focused, make sure tests and checks pass, and be able to explain and stand behind what you submit.

If you prefer software developed strictly without AI assistance, this probably isn't the project for you — no hard feelings.

Acknowledgments & Licenses

  • mysql2 — MySQL client driver for Node.js (MIT).
  • node-postgres (pg) — PostgreSQL client driver for Node.js (MIT).
  • DripGrep & DripView — Companion search and viewer extensions.

MIT — see LICENSE and THIRD_PARTY_NOTICES.md.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft