{"id":13441900,"url":"https://github.com/cweijan/vscode-database-client","last_synced_at":"2025-05-13T17:09:50.676Z","repository":{"id":37442372,"uuid":"250624283","full_name":"cweijan/vscode-database-client","owner":"cweijan","description":"Database Client For Visual Studio Code","archived":false,"fork":false,"pushed_at":"2025-03-25T04:01:10.000Z","size":9722,"stargazers_count":2634,"open_issues_count":55,"forks_count":309,"subscribers_count":15,"default_branch":"main","last_synced_at":"2025-04-24T01:56:43.969Z","etag":null,"topics":["mysql-database","sql","vscode","vscode-extension"],"latest_commit_sha":null,"homepage":"https://database-client.com","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cweijan.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-03-27T19:13:58.000Z","updated_at":"2025-04-23T09:10:22.000Z","dependencies_parsed_at":"2023-02-09T14:30:22.983Z","dependency_job_id":"88a7e966-21d8-4be1-89fb-0f9d65c578a8","html_url":"https://github.com/cweijan/vscode-database-client","commit_stats":{"total_commits":1342,"total_committers":27,"mean_commits":49.7037037037037,"dds":"0.058867362146050706","last_synced_commit":"9579e13ebded2d291efc7ffcea660f06191b69a8"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cweijan%2Fvscode-database-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cweijan%2Fvscode-database-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cweijan%2Fvscode-database-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cweijan%2Fvscode-database-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cweijan","download_url":"https://codeload.github.com/cweijan/vscode-database-client/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253990468,"owners_count":21995774,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mysql-database","sql","vscode","vscode-extension"],"created_at":"2024-07-31T03:01:39.416Z","updated_at":"2025-05-13T17:09:45.664Z","avatar_url":"https://github.com/cweijan.png","language":"TypeScript","readme":"\n# Database Client\n\n#### This repository contains the early source code. The new version is closed source.\n\n---\n\nThis project is a database client for Visual Studio Code, supporting the management **MySQL/MariaDB, PostgreSQL, SQLite, Redis, ClickHouse, 达梦**, and **ElasticSearch**, and works as an **SSH** client, boost your maximum productivity!\n\n\u003e Project site: [vscode-database-client](https://github.com/cweijan/vscode-database-client), [中文文档](README_CN.md)\n\n[![Logo](./public/logo_dark.png)](https://database-client.com)\n\n## Installation\n\nInstall from the [Visual Studio Code Marketplace](https://marketplace.visualstudio.com/items?itemName=cweijan.vscode-mysql-client2) or [Open VSX](https://open-vsx.org/extension/cweijan/vscode-mysql-client2).\n\n## Telemetry Reporting\n\nThe Database Client extension will collects and sends anonymous usage data to the Database Client server to help improve our products and services. Read our [Privacy Statement](https://database-client.com/#/privacyPolicy) to learn more.\n\nTelemetry reporting follows the [telemetry settings](https://code.visualstudio.com/docs/getstarted/telemetry) of VS Code. Additionally, you can independently disable it by setting `\"database-client.telemetry.usesOnlineServices\": false`.\n\n## Connect\n\n1. Open Database Explorer panel, then click the `+` button.\n2. Select your database type, input connection config then click the connect button.\n\n![connection](https://doc.database-client.com/images/connection.jpg)\n\n## Table\n\n1. Click table to open table view.\n2. Click button beside table to open new table view.\n3. Then you can do data modification on the table view.\n\n![query](https://doc.database-client.com/images/view.png)\n\n## Execute SQL Query\n\nIn the Database Explorer panel, click the `Open Query` button.\n\n![newquery](https://doc.database-client.com/images/newquery.jpg)\n\nThat will open a SQL editor bind of database, it provider:\n\n1. IntelliSense SQL edit.\n2. snippets:`sel、del、ins、upd、joi`...\n3. Run selected or current cursor SQL (Shortcut : Ctrl+Enter).\n4. Run all SQL (Shortcut : Ctrl+Shift+Enter, Command ID: `mysql.runSQL`).\n\n![run](https://doc.database-client.com/images/run.jpg)\n\nThe database can be searched by clicking the search button to the right of \"Tables\".\n\n![1708594027208](image/README/1708594027208.png)\n\n## Cache\n\nIn order to improve performance, the database information is cached. If your database structure changes externally, you need to click the refresh button to refresh the cache。\n\n![](https://doc.database-client.com/image/connection/1638342622208.png)\n\n## Backup/Import\n\nMove to ant DatabaseNode or TableNode. The export/import options are listed in the context menu (right click to open).\n\nThe extension implements the backup function, but it is not stable enough. You can add mysql_dump or pg_dump to the environment variable, and the extension will use these tools for backup.\n\n![bakcup](https://doc.database-client.com/images/Backup.jpg)\n\n## Setting\n\nThe extension provides some settings, you can refer to the following operations to go to the console settings.\n\n![1708593458624](image/README_CN/1708593458624.png)\n\n## Generate Mock Data\n\nYou can easily generate test data.\n\n![mockData](https://doc.database-client.com/image/minor/mockData.jpg)\n\n## History\n\nClick the history button to open the list of recently executed query history records.\n\n![history](images/history.jpg)\n\n## Credits\n\n- [ssh2](https://github.com/mscdex/ssh2): SSH client.\n- [sql-formatter](https://github.com/zeroturnaround/sql-formatter) SQL format lib.\n- Client Lib:\n  - [node-mysql2](https://github.com/sidorares/node-mysql2) : MySQL client.\n  - [node-postgres](https://github.com/brianc/node-postgres): PostgreSQL client.\n  - [tedious](https://github.com/tediousjs/tedious): SqlServer client.\n  - [ioredis](https://github.com/luin/ioredis): Redis client.\n  - [vscode-sqlite](https://github.com/AlexCovizzi/vscode-sqlite): SQLite client code reference.\n","funding_links":[],"categories":["HarmonyOS","TypeScript","语言资源库"],"sub_categories":["Windows Manager","typescript"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcweijan%2Fvscode-database-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcweijan%2Fvscode-database-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcweijan%2Fvscode-database-client/lists"}