vscode-sqltools

mtxrMIT活跃维护

在 VS Code 里直接连 MySQL、Postgres、SQLite、MSSQL、Oracle 等数据库,写 SQL、看表结构和结果,不用切到别的客户端。

Database management for VSCode

v0.28.6发布于 2026-07-06 16:59 UTC1,776star376fork同步于 2026-11-10 17:48 UTC

怎么上手

由 README 提炼,执行前请确认
在 VS Code 扩展视图搜索 @tag:sqltools-driver 并安装对应数据库驱动,核心扩展会随之安装
硬件要求按 README 说明

README 未说明

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

VS Code 里的数据库管理扩展,连上库就能写 SQL、跑查询、看结果

在 VS Code 里直接连 MySQL、Postgres、SQLite、MSSQL、Oracle 等数据库,写 SQL、看表结构和结果,不用切到别的客户端。

核心能力

  • 通过可插拔驱动架构连接多种数据库
  • 内置 SQL 代码美化与格式化
  • 查询执行、历史记录与书签管理
  • 连接浏览器管理多个数据库连接
  • 生成 INSERT 语句

容易踩的坑

必须额外安装对应数据库的驱动扩展,只装核心扩展无法连接数据库;官方驱动仅覆盖 MySQL、PostgreSQL、SQL Server、SQLite 等,其他数据库需另找社区驱动

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

5 个版本v0.28.6
  1. v0.28.6v0.28.6 - (Jul 6, 2026)最新正式版2026-07-06 · 2026-07-06 16:59 UTC

    What's Changed

  2. mssql-v0.4.102025-09-29 · 2025-09-29 01:02 UTC
    查看更新说明

    What's Changed

    • Microsoft guidelines update. Remove wording Azure.

    Full Changelog: https://github.com/mtxr/vscode-sqltools/compare/mssql-v0.4.9...mssql-v0.4.10

  3. mssql-v0.4.92025-09-12 · 2025-09-12 02:18 UTC
    查看更新说明

    What's Changed

    What Changed:

    • Updated all references to comply with Microsoft trademark guidelines
    • Extension title no longer uses "Microsoft" trademark
    • Documentation updated to follow proper trademark usage
    • Marketplace listing revised for compliance

    Impact:

    • No functionality changes - all features work exactly the same
    • Extension ID remains unchanged: mtxr.sqltools-driver-mssql
    • Existing installations will update automatically

    Why This Change: Required compliance with Microsoft Trademark & Brand Guidelines following official notice.

    Verification:


    Note: This is purely a naming/branding change. Your SQL Server connections and workflows remain unaffected.

  4. pg-v0.5.7PostgreSQL driver v0.5.7 - (Sep 11, 2025)2025-09-11 · 2025-09-11 08:45 UTC
    查看更新说明

    Support password connections over SSH

  5. mysql-v0.6.6MySQL driver v0.6.6 - (Sep 11, 2025)2025-09-11 · 2025-09-11 08:40 UTC
    查看更新说明

    Support password connections over SSH

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    GitHub

    Welcome to Database Management done right. SQLTools provides connections to many of the most commonly used databases, making it easier to work with your data. With this tool, developers will save (a lot of) time, increase productivity and feel like a database hero ✌️

    SQLTools is an open-source project maintained by Matheus Teixeira and George James Software, alongside contributions from our brilliant community of users.

    If you like using this tool please leave us a review.

    Features

    Connects to MySQL, PostgreSQL, SQL Server and many more...

    • Beautifier and formatter for SQL code
    • Query runner, history and bookmarks
    • Connection explorer
    • Generator for INSERT queries
    • Pluggable driver architecture

    Find out more in the documentation here.

    Getting Started

    SQLTools is a set of VS Code extensions that connect to, query, and display results from a SQL database manager. (Supported databases are listed below.)

    The installation process is straightforward:

    • Open VS Code
    • Click the Extensions view (in the left bar), then search for @tag:sqltools-driver. This lists all the drivers available for SQLTools.
    • Install the driver for your database. This also installs the core SQLTools extension.
    • Click the SQLTools icon (in the left bar)
    • Create a connection to your database. To do this, hover over CONNECTIONS in the SQLTools pane. Click the "Add New Connection" icon and choose the driver and enter the connection parameters.

    You can then open and query it from within VS Code.

    Supported Databases

    To use SQLTools you will also need to install the appropriate driver extension for your database.

    If the driver you want is not available, you can use our handy new drivers guide to write it yourself (and help our community in the process) or submit feedback via GitHub.

    If you need a driver sooner, get in touch with the maintainers directly – we might be able to help you out.

    Psst… we’re always on the lookout for maintainers for the official drivers, so let us know if this is something you’re interested in!

    Official Drivers

    DriverMarketplacePackage
    CockroachDBCockroachDBLinkpackages/driver.pg
    MariaDBMariaDBLinkpackages/driver.mysql
    MSSQLSQL ServerLinkpackages/driver.mssql
    MySQLMySQLLinkpackages/driver.mysql
    TiDBTiDBLinkpackages/driver.mysql
    PostgreSQLPostgreSQLLinkpackages/driver.pg
    SQLiteSQLiteLinkpackages/driver.sqlite

    Community Drivers:

    DriverMarketplaceMaintainer and Repository
    Amazon Aurora DSQLAmazon Aurora DSQLLink@aws-aurora-dsql-maintainers awslabs/aurora-dsql-vscode
    Amazon RedshiftAmazon RedshiftLink@kj-9 kj-9/sqltools-redshift-driver
    ClickHouse logoClickHouseLink@ultram4rine ultram4rine/sqltools-clickhouse-driver
    DatabricksDatabricksLink@Databricks databricks/sqltools-databricks-driver
    Db2Db2Link@lucashancock lucashancock/db2-sqltools
    DolphinDBDolphinDBLink@DolphinDB dolphindb/sqltools-dolphindb-driver
    DuckDB Sql ToolsDuckDBLink@RandomFractals RandomFractals/duckdb-sql-tools
    DuckDB Pro ToolsDuckDB ProSign up@RandomFractals RandomFractals/pro-data-tools#duckdb-pro-tools
    DuckDB (Latest Version Support)DuckDB (Latest Version Support)Link@Evidence evidence-dev/sqltools-duckdb-driver
    Google BigQueryGoogle BigQueryLink@Evidence evidence-dev/sqltools-bigquery-driver
    Google Cloud SpannerGoogle Cloud SpannerLink@cloudspannerecosystem cloudspannerecosystem/sqltools-cloud-spanner-driver
    Google Cloud SQL (PostgreSQL)Google Cloud SQL (PostgreSQL)Link@curioswitch curioswitch/sqltools-cloudsql-pg
    HiveHiveLink@datafe datafe/sqltools-hive-driver
    HologresHologresLink@datafe datafe/sqltools-hologres-driver
    InterSystems IRIS logoInterSystems IRISLink@daimor intersystems-community/sqltools-intersystems-driver
    kdb+kdb+ / qLink@dreth dreth/kdb-sqltools
    MaxComputeMaxComputeLink@datafe datafe/sqltools-maxcompute-driver
    Mimer SQLMimer SQLLink@mimersql mimersql/sqltools-mimer-driver
    NetezzaNetezzaLink@maurice-v maurice-v/sqltools-driver-netezza
    OracleOracleLink@hashhashu hashhashu/sqltools-Oracle-driver
    SAP HANASAP HANALink@SAP SAP/sap-hana-driver-for-sqltools
    SingleStoreSingleStoreLink@singlestore-labs singlestore-labs/sqltools-singlestore-driver
    SnowflakeSnowflakeLink@koszti koszti/sqltools-snowflake-driver
    SQLite Pro ToolsSQLite ProSign up@RandomFractals RandomFractals/pro-data-tools/sqlite-tools
    TeradataTeradataLink@ScriptPup ScriptPup/sqltools-teradata-driver
    TrinoTrinoLink@regadas regadas/sqltools-trino-driver
    VerticaVerticaLink@vertica vertica/sqltools-vertica-driver

    Related Tools

    NameDownloadRepository
    Markdown SQL Pro ToolsMarkdown SQL Pro ToolsSign upRandomFractals/pro-data-tools#markdown-sql-pro-tools
    PRQL Pro ToolsPRQL Pro ToolsSign upRandomFractals/pro-data-tools#prql-pro-tools

    Contributing

    We are grateful to our contributors for helping with this project ❤️ If you would like to join them you’ll find everything you need to know about contributing here.

    Changelog

    See the changelog here.

    Feedback

    Our aim is to build a tool that is genuinely helpful for developers. Therefore we welcome any feedback or additional feature requests – please submit them through the GitHub Issue system.

    If you need help sooner, get in touch with the maintainers directly – we might be able to help you out.

    About George James Software

    George James Software has been providing innovative software solutions for over 35 years. We pride ourselves on the quality and maintainability of our code and we have built a number of tools to help developers achieve the same with their work. These are available as VS Code extensions here.

    We also help other developers to build their own extensions. If there is a tool you need building please get in touch with us at [email protected].