DEV.co
Open-Source Databases · cweijan

vscode-database-client

vscode-database-client is a VS Code extension enabling developers to connect to and manage multiple database types (MySQL, PostgreSQL, SQLite, Redis, ClickHouse, ElasticSearch) directly within the editor. It supports SQL editing, query execution, data visualization, and basic backup/import operations with SSH tunneling capability.

Source: GitHub — github.com/cweijan/vscode-database-client
2.9k
GitHub stars
377
Forks
TypeScript
Primary language
MIT
License (OSI-approved)

Key facts

Objective fields from the source. Values we can't verify are shown as “Unknown” rather than guessed.

FieldValue
Repositorycweijan/vscode-database-client
Ownercweijan
Primary languageTypeScript
LicenseMIT — OSI-approved
Stars2.9k
Forks377
Open issues154
Latest release4.7.0 (2022-02-26)
Last updated2026-06-13
Sourcehttps://github.com/cweijan/vscode-database-client

What vscode-database-client is

TypeScript-based VS Code extension leveraging node-mysql2, node-postgres, tedious, ioredis, and ssh2 libraries to provide multi-database connectivity, IntelliSense-enabled SQL editing, parameterized query execution, and caching. The README states new versions are closed source while the GitHub repository hosts early source code.

Quickstart

Get the vscode-database-client source

Clone the repository and explore it locally.

terminalbash
git clone https://github.com/cweijan/vscode-database-client.gitcd vscode-database-client# follow the project's README for install & configuration

Need it deployed, integrated, or customized instead? DEV.co ships production installs.

Best use cases

Local development database exploration

Browse schemas, tables, and execute ad-hoc SQL queries without leaving VS Code. Suitable for developers managing multiple database instances during feature development.

Quick data inspection and modification

View and edit table data directly through the extension UI, generate mock test data, and access query history—reducing context switching during debugging.

Remote database access via SSH

Connect securely to production or staging databases through SSH tunnels, eliminating the need for separate database client tools or direct network exposure.

Implementation considerations

  • Requires VS Code installation and the extension from Marketplace or Open VSX; no standalone deployment option.
  • Connection credentials are stored locally; ensure VS Code workspace file encryption/security policies are in place for sensitive environments.
  • SSH tunneling relies on ssh2 library; verify SSH key management and host verification procedures align with organizational security standards.
  • Performance is optimized via database info caching; external schema changes require manual refresh to avoid stale data views.
  • Backup/import features recommend external tools (mysqldump, pg_dump) for production use; extension implementation remains unpolished.

When to avoid it — and what to weigh

  • Mission-critical production workflows — README explicitly notes backup functionality is 'not stable enough'. Production backup/restore should use dedicated tools (mysqldump, pg_dump) or enterprise clients.
  • Closed-source codebase requirement — Repository contains early source code; newer versions are closed source. If auditable or modifiable source is required, this may not meet compliance needs.
  • Team-based concurrent access — Designed as a single-user VS Code extension. Multi-user collaboration, role-based access control, or shared connection management are not stated as supported.
  • Telemetry-sensitive environments — Extension collects anonymous usage data by default and sends to Database Client servers. Disable via `database-client.telemetry.usesOnlineServices: false` if telemetry is prohibited.

License & commercial use

MIT License (permissive open-source license). Commercial use, modification, and redistribution are permitted with attribution; no warranty is provided.

MIT license permits commercial use of the open-source version hosted on GitHub. However, the README states newer versions are closed source. Any deployment should clarify which version is used and contact the maintainer (cweijan) regarding licensing of closed-source builds if applicable. No explicit commercial support or SLA is mentioned.

DEV.co evaluation signals

Editorial assessment — not user reviews. Directional, with an explicit confidence level.

SignalAssessment
MaintenanceModerate
DocumentationAdequate
License clarityClear
Deployment complexityLow
DEV.co fitPossible
Assessment confidenceMedium
Security considerations

Extension handles database credentials within VS Code workspace files; ensure workspace file encryption and access control are enforced. SSH tunneling relies on ssh2 library and system SSH agent—verify key management and host key verification are configured. Telemetry sends anonymous usage data to external servers by default; disable if required by policy. No explicit security audit or vulnerability disclosure process is stated in the provided data. Credential storage mechanism (plaintext vs. encrypted) is not clearly documented.

Alternatives to consider

DBeaver Community / DBeaver Web

Standalone, multi-user database client with richer UI, role-based access, and stronger backup/restore tooling. Larger feature set but steeper learning curve and separate process overhead.

JetBrains DataGrip

Commercial IDE-integrated database client with advanced refactoring, UML support, and enterprise features. Higher cost but premium reliability for production use.

pgAdmin (PostgreSQL) / MySQL Workbench

Database-specific native clients offering deep feature integration, better stability for backup/restore, and enterprise support. Less flexible for multi-database workflows within one tool.

Software development agency

Build on vscode-database-client with DEV.co software developers

Consider this extension for development-focused database browsing and ad-hoc queries. For production workflows, mission-critical backups, or team collaboration, review alternatives and test stability in your environment. Contact Devco to align database tooling with your engineering practices.

Talk to DEV.co

Related open-source tools

Surfaced by semantic similarity across the DEV.co open-source index.

Related on DEV.co

Explore the category and the services that help you build with it.

vscode-database-client FAQ

Is the closed-source version available on GitHub?
No. The README states 'This repository contains the early source code. The new version is closed source.' The GitHub repo hosts the older MIT-licensed version; closed-source builds are likely distributed via the Marketplace or as separate downloads. Contact the maintainer for details.
How can I disable telemetry reporting?
Set `"database-client.telemetry.usesOnlineServices": false` in VS Code settings, or rely on VS Code's global telemetry settings. The extension respects both.
Is backup/restore production-ready?
No. The README explicitly states backup is 'not stable enough' and recommends using external tools (mysqldump, pg_dump) for production workflows. The extension's backup feature is suitable for development only.
What databases are supported?
MySQL/MariaDB, PostgreSQL, SQLite, Redis, ClickHouse, 达梦 (DM), and ElasticSearch. SQL Server is mentioned in credits (tedious library) but not listed in primary supported databases.

Work with a software development agency

DEV.co is a software development agency delivering custom software development services to companies building on open source. Our software developers and web developers design, integrate, and ship production systems — spanning web development, APIs, AI, data, and cloud. If vscode-database-client is part of your open-source databases roadmap, our team can implement, customize, migrate, and maintain it.

Evaluate vscode-database-client for your team

Consider this extension for development-focused database browsing and ad-hoc queries. For production workflows, mission-critical backups, or team collaboration, review alternatives and test stability in your environment. Contact Devco to align database tooling with your engineering practices.