# MySQL-for-VS-Code **Repository Path**: mirrors/MySQL-for-VS-Code ## Basic Information - **Project Name**: MySQL-for-VS-Code - **Description**: Visual Studio Code 的 MySQL 管理工具 功能 管理 MySQL 连接 查看 MySQL 服务器 查看 MySQL 数据库 查看 MySQL 数据表 执行 M - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 16 - **Forks**: 2 - **Created**: 2017-11-24 - **Last Updated**: 2025-09-13 ## Categories & Tags **Categories**: vsc-plugins **Tags**: None ## README # MySQL 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. ![connection](images/connection.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` ![run](images/run.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` ![newquery](images/newquery.png) ## Settings * `vscode-mysql.maxTableCount`: The maximum table count shown in the tree view. (Default is **500**) * `vscode-mysql.enableDelimiterOperator`: Enable support for DELIMITER operator. (Default is **true**) ## 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: ```json { "vscode-mysql.enableTelemetry": false } ``` ## Change Log See Change Log [here](CHANGELOG.md) ## 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](https://github.com/formulahendry/vscode-mysql/issues) to the GitHub Repo.