|
|
@ -2,18 +2,16 @@ |
|
|
|
|
|
|
|
[](https://marketplace.visualstudio.com/items?itemName=cweijan.vscode-mysql-client2) [](https://marketplace.visualstudio.com/items?itemName=cweijan.vscode-mysql-client2) [](https://marketplace.visualstudio.com/items?itemName=cweijan.vscode-mysql-client2) |
|
|
|
|
|
|
|
Database Client For Visual Studio Code |
|
|
|
Database Client for Visual Studio Code. It supports databases MySQL/MariaDB, Microsoft SQL Server, PostgreSQL, Redis, and ElasticSearch. |
|
|
|
|
|
|
|
> Supported databases: Mysql/MariaDB、SqlServer、Postgresql、Redis、ElasticSearch |
|
|
|
> |
|
|
|
> Project site: [vscode-database-client](https://github.com/cweijan/vscode-database-client), [中文文档](README_CN.md) |
|
|
|
|
|
|
|
**Features** |
|
|
|
## Features |
|
|
|
|
|
|
|
- [Database Client](#database-client) |
|
|
|
- [Connect](#connect) |
|
|
|
- [Table](#table) |
|
|
|
- [Execute SQL](#execute-sql) |
|
|
|
- [Execute SQL Query](#execute-sql-query) |
|
|
|
- [Generate Mock Data](#generate-mock-data) |
|
|
|
- [History](#history) |
|
|
|
- [Backup/Import](#backupimport) |
|
|
@ -21,48 +19,53 @@ Database Client For Visual Studio Code |
|
|
|
|
|
|
|
## Installation |
|
|
|
|
|
|
|
Install from vscode marketplace [vscode-mysql](https://marketplace.visualstudio.com/items?itemName=cweijan.vscode-mysql-client2). |
|
|
|
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter. |
|
|
|
|
|
|
|
``` |
|
|
|
ext install cweijan.vscode-mysql-client2 |
|
|
|
``` |
|
|
|
|
|
|
|
## Connect |
|
|
|
|
|
|
|
1. Open MySQL Panel, then click the `+` button. |
|
|
|
2. Input your connect info then click connect. |
|
|
|
1. Open Database Explorer panel, then click the `+` button. |
|
|
|
2. Select your database type, input your database connection information then click the connect button. |
|
|
|
|
|
|
|
 |
|
|
|
|
|
|
|
## Table |
|
|
|
|
|
|
|
1. Click table to open table view. |
|
|
|
2. Then you can do data modification on view page. |
|
|
|
2. Then you can do data modification on the view page. |
|
|
|
 |
|
|
|
|
|
|
|
## Execute SQL |
|
|
|
## Execute SQL Query |
|
|
|
|
|
|
|
In the Database Explorer panel, click the `Open Query` button. |
|
|
|
 |
|
|
|
|
|
|
|
* In the MySQL Panel, click the `New Query` button. |
|
|
|
 |
|
|
|
* Now you can edit and run SQL within the editor. |
|
|
|
*  |
|
|
|
Now you can edit and run SQL query within the editor. |
|
|
|
 |
|
|
|
|
|
|
|
## Generate Mock Data |
|
|
|
|
|
|
|
- Now you do not need spend time writing test data. |
|
|
|
 |
|
|
|
Now you do not need to spend time writing test data. |
|
|
|
 |
|
|
|
|
|
|
|
## History |
|
|
|
|
|
|
|
- Click history button to open run history record. |
|
|
|
 |
|
|
|
Click the history button to open the list of recently executed query history records. |
|
|
|
 |
|
|
|
|
|
|
|
## Backup/Import |
|
|
|
|
|
|
|
* Move to ant DatabaseNode or TableNode, backup/import options are listed in the context menu (right click to open). |
|
|
|
 |
|
|
|
Move to ant DatabaseNode or TableNode. The export/import options are listed in the context menu (right click to open). |
|
|
|
 |
|
|
|
|
|
|
|
## Filter |
|
|
|
|
|
|
|
 |
|
|
|
|
|
|
|
# Credits |
|
|
|
## Credits |
|
|
|
|
|
|
|
- [vscode-mysql](https://github.com/formulahendry/vscode-mysql): The original version of this extension. |
|
|
|
- [mysqldump](https://github.com/bradzacher/mysqldum): Data dump lib. |
|
|
@ -72,8 +75,3 @@ Install from vscode marketplace [vscode-mysql](https://marketplace.visualstudio. |
|
|
|
- [node-mysql2](https://github.com/sidorares/node-mysql2) : Mysql client. |
|
|
|
- [node-postgres](https://github.com/brianc/node-postgres): PostgreSql client. |
|
|
|
- [tedious](https://github.com/tediousjs/tedious): SqlServer client. |
|
|
|
|
|
|
|
## RoadMap |
|
|
|
|
|
|
|
- Sync table struct from diffrent connection. |
|
|
|
- Better Intetllisense sql. |