Configs2026年7月13日·1 分钟阅读

HeidiSQL — Lightweight Multi-Database Client for Windows and Linux

HeidiSQL is a free, open-source database client supporting MySQL, MariaDB, PostgreSQL, SQL Server, SQLite, Interbase, and Firebird with a fast, no-nonsense Windows-native interface.

Agent 就绪

这个资产会安全暂存

这个资产会先安全暂存。复制的指令会要求 Agent 读取暂存文件,并在激活脚本、MCP 配置或全局配置前先确认。

Stage only · 29/100策略:需暂存
Agent 入口
任意 MCP/CLI Agent
类型
CLI Tool
安装
Single
信任
信任等级:Established
入口
HeidiSQL
安全暂存命令
npx -y tokrepo@latest install 6904e12b-7edc-11f1-9bc6-00163e2b0d79 --target codex

先暂存文件;激活前需要读取暂存 README 和安装计划。

Introduction

HeidiSQL is a veteran open-source database management tool that has served developers and DBAs since 2006. It provides a straightforward graphical interface for browsing, editing, and managing databases across multiple engines, all in a remarkably lightweight package written in Delphi/Lazarus.

What HeidiSQL Does

  • Connects to MySQL, MariaDB, PostgreSQL, SQL Server, SQLite, Interbase, and Firebird
  • Browses and edits table data, schemas, views, routines, and events
  • Exports databases to SQL dumps, CSV, HTML, XML, or LaTeX formats
  • Executes queries with syntax highlighting, auto-completion, and query profiling
  • Manages user accounts and privileges across supported engines

Architecture Overview

HeidiSQL is built with Delphi (and ported partially to Lazarus/FreePascal for Linux support). It uses native database client libraries for each engine and communicates over TCP or named pipes. The UI is a single-window MDI layout with a server tree, query tabs, and result grids. SSH tunneling is handled via PuTTY's plink.

Self-Hosting & Configuration

  • Download the installer or portable ZIP from heidisql.com
  • Supports SSH tunnel connections via bundled plink.exe
  • Session manager stores multiple connection profiles with color coding
  • Query and export settings are configurable per session
  • Portable mode keeps all settings in the application directory

Key Features

  • Supports seven database engines from a single interface
  • SSH tunnel support via integrated plink
  • Batch table editor for bulk schema changes across tables
  • Data and structure synchronization between two databases
  • Completely free and open source under GPL

Comparison with Similar Tools

  • DBeaver — Java-based, cross-platform, supports more engines; HeidiSQL is faster and lighter on Windows
  • MySQL Workbench — official Oracle tool with ER modeling; HeidiSQL is simpler and snappier
  • Sequel Ace — macOS-only for MySQL; HeidiSQL covers more engines and runs on Windows/Linux
  • phpMyAdmin — web-based for MySQL only; HeidiSQL is a desktop app with multi-engine support
  • DataGrip — JetBrains commercial product; HeidiSQL is free

FAQ

Q: Does HeidiSQL run on macOS? A: Not natively. HeidiSQL targets Windows and Linux (via Lazarus build or Wine).

Q: Can I connect via SSH? A: Yes. HeidiSQL bundles plink.exe for SSH tunneling to remote database servers.

Q: Is it suitable for PostgreSQL work? A: Yes. HeidiSQL supports PostgreSQL including schemas, functions, and materialized views.

Q: How lightweight is it? A: The portable edition is under 20 MB and launches in under a second on modern hardware.

Sources

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产