Registryvsx-cweijanvscode-mysql-client2

@vsx-cweijan/vscode-mysql-client2

Public
VSX CompatibleOXP Native: Planned

// Description

Database Management for MySQL/MariaDB, PostgreSQL, Redis and ElasticSearch.

// Readme

Open VSX

#Database Client

All-in-one database management extension for Visual Studio Code. Connect to SQL and NoSQL databases, browse and edit data, run queries with IntelliSense, manage SSH servers, Docker, and remote files — without leaving the editor.

Website: database-client.com · Docs: https://database-client.com/docs

Logo

##Telemetry

The extension collects anonymous usage data to help improve the product. Read the Privacy Policy for details.

Telemetry follows VS Code's telemetry settings. You can also disable it independently:

"database-client.telemetry.usesOnlineServices": false

##Getting Started

###Connect

  1. Open the Database panel in the sidebar.
  2. Click the + button.
  3. Select a service type, fill in the connection details, and click Connect.

connection

Connections support SSH tunnel, SSL/TLS, SOCKS proxy, and HTTP auth where applicable.

###Browse Tables

  1. Click a table to open the table view.
  2. Click the button beside a table to open it in a new tab.
  3. Edit data directly in the grid.

query

Use the search box next to Tables to filter objects in the explorer.

###Execute SQL

Click Open Query on a connection to open a SQL editor bound to that database.

newquery

The editor provides:

  • SQL IntelliSense and auto-completion
  • Snippets: sel, del, ins, upd, joi, etc.
  • Run current/selected SQLCtrl+Enter / Cmd+Enter
  • Run all SQLCtrl+Shift+Enter / Cmd+Shift+Enter
  • Run in new panelCtrl+Alt+Enter / Cmd+Ctrl+Enter

run

###Cache

Database metadata is cached for performance. If the schema changes externally, click the Refresh button on the connection to update.

###Backup & Import

Right-click any database or table node to access Export and Import options.

For MySQL and PostgreSQL, adding mysqldump or pg_dump to your PATH enables native backup tools.

backup

###SSH & Port Forwarding

Connect to an SSH server to access the terminal, browse remote files, and set up port forwarding for tunneling database connections.

###Mock Data

Generate test data from table templates or mock.json files. Press Ctrl+Enter / Cmd+Enter in a mock file to run.

mockData

###Query History

Click the history button in the SQL editor toolbar to view recently executed queries.

history

##Settings

Open VS Code Settings and search for database-client to configure SQL behavior, result layout, telemetry, and more.

Common options:

SettingDescription
database-client.defaultSelectLimitDefault row limit for SELECT queries
database-client.confirmWhenUpdateWithoutWhereWarn before UPDATE/DELETE without WHERE
database-client.autoPagingSQLAuto-paginate large result sets
database-client.enableSQLVariableEnable ${variable} substitution in SQL
database-client.splitEditorWhenQueryOpen results in a split editor

##Development

###Prerequisites

  • Node.js 20+
  • Yarn

###Build

yarn install
yarn dev      # watch mode for development
yarn build    # production build to out/
yarn lint     # type check

Press F5 in VS Code to launch the Extension Development Host.

###Package

yarn repackage  # build and create .vsix

##Credits

// Install

Open this extension directly in your IDE — no CLI, no extra tools.

Extension ID
cweijan.vscode-mysql-client2

If your IDE doesn't open automatically, copy the ID above and paste it into the Extensions view (⌘P ext install <id>).

// Source signals

Publisher
Verified ✓
Rating
4.4 (7)
Downloads
1.2M
Published
2026-06-19
Source
repo
Homepage
link

Live from open-vsx.org. Refreshed hourly.

// Are you the author?

This listing is mirrored from Open VSX. Claim it to ship a native OXP build, customise the page, and respond to reviews.

Claim this listing

// Package Info

Version
8.4.7
Owner
@vsx-cweijan
Downloads
1.0M
Stars
0