Skip to content

yi1991er/vscode-mysql

 
 

Repository files navigation

MySQL Client

Marketplace Version Installs Rating

MySQL Client For Visual Studio Code

Project site: vscode-mysql

Features

Regarding MySQL 8.0 support

While this plugin can connect to a MySQL 8.0 server, the newer authentication methods are not supported.

To change a user's authentication method to the older one supported by this plugin, run the following query:

alter user my_user@'%' identified with mysql_native_password by "myPassword";

Installation

Install from vscode marketplace vscode-mysql.

Coffee

If you like this this extension, consider buying me a coffee. Thank you!

Connect

  1. Open MySQL Panel, then click the + button.
  2. Input your connect info then click connect.

connection

View Tables

  1. Click Table To Open Query page and Load data.
  2. You can do data modification on query page. query

Execute Sql

  • In the MySQL Panel, click the New Query button. newquery
  • This changes the active database.
  • Now you can enjoy Intellisense for SQL code within the editor.
  • Click Run Button or Press F9 to Execute. run

Generate Mock Data

  • Now you do not need spend time writing test data. mockData

History

  • Click history button to open run history record. history

Backup/Import

  • Move to ant DatabaseNode or TableNode, backup/import options are listed in the context menu (right click to open). bakcup

Setting

OpenSetting -> extensions -> Mysql

Setting

Other

  • Find a suprise when you right click on a node.

suprise

RoadMap

  • Sync table struct from diffrent connection.
  • Fix Intetllisense sql.
  • Better sql formatter.

Filter

filter

Sponsor

Releases

No releases published

Packages

No packages published

Languages

  • CSS 90.4%
  • TypeScript 7.4%
  • Vue 2.0%
  • Other 0.2%