vs工具连接到数据库mysql_MySQL-for-VS-Code: Visual Studio Code 的 MySQL 管理工具 功能 管理 MySQL 连接 查看 MySQL 服务器 查看 My...

该博客介绍了如何使用VS Code的MySQL管理工具来连接和管理MySQL数据库。用户可以添加连接,查看服务器、数据库、表格和列,并运行MySQL查询。通过右键菜单或快捷键执行SQL,设置中可以调整最大显示表格数。默认开启匿名遥测数据收集,但可以在设置中关闭。
摘要由CSDN通过智能技术生成

MySQL

formulahendry.vscode-mysql.svgformulahendry.vscode-mysql.svgformulahendry.vscode-mysql.svgvscode-mysql.svg?branch=master

MySQL management tool

Features

Manage MySQL Connections (support SSL connection)

List MySQL Servers

List MySQL Databases

List MySQL Tables

List MySQL Columns

Run MySQL Query

Usage

To add MySQL connection: in Explorer of VS Code, click "MYSQL" in the bottom left corner, then click the + button, then type host, user, password, port and certificate file path (optional) in the input box.

7ace1133050590596aea366075f4cd80.png

To run MySQL query, open a SQL file first then:

right click on the SQL file, then click Run MySQL Query in editor context menu (Note: you could also run the selected SQL query)

or use shortcut Ctrl+Alt+E

or press F1 and then select/type Run MySQL Query

695e19764ecdd79324371a99170a439c.png

To create a new MySQL query or change active MySQL connection (You could see active MySQL connection in status bar):

right click on a MySQL server, then click New Query

or right click on a MySQL database, then click New Query

6824d7480f31763fb9cba4d0d87d8031.png

Settings

vscode-mysql.maxTableCount: The maximum table count shown in the tree view. (Default is 500)

Telemetry data

By default, anonymous telemetry data collection is turned on to understand user behavior to improve this extension. To disable it, update the settings.json as below:

{

"vscode-mysql.enableTelemetry":false

}

Change Log

See Change Log here

Issues

Currently, the extension is in the very initial phase. If you find any bug or have any suggestion/feature request, please submit the issues to the GitHub Repo.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值