Download HeidiSQL v12.21, released on 03 Aug 2026

Donate

Installation notes

Latest changes and nightly builds

Latest automatically compiled main executable and installers for HeidiSQL. Just download and overwrite your existing C:\Program Files\HeidiSQL\heidisql.exe. Be aware that these builds are not official releases and therefore probably have more bugs, possibly serious ones.

Classic Windows version v13 Preview, Current Linux and macOS versions
Ansgar Becker feat: Use fully qualified table name in "Select Top x rows" action when a click on it is combined with Shift

https://www.heidisql.com/forum.php?t=45359

aa0f350: 10 Sep 2026 18:18 v12.21.0.734764bit build Installer

Ansgar Becker fix: use newer/renumbered MYSQL_* constants with libmysql v8+

Refs #2587

2508516: 27 Aug 2026 19:26 v12.21.0.734664bit build Installer

Ansgar Becker enhance: rephrase warning message displayed when a grid edit/delete did not affect any row

Refs #2568

ca238aa: 07 Aug 2026 08:32 v12.21.0.7345

Ansgar Becker Bump version for v12.21 release

effb854: 03 Aug 2026 19:12 v12.21.0.734464bit build Installer

Ansgar Becker chore: update SQLite libraries to v3.53.4

05c57aa: 03 Aug 2026 13:37 v12.20.0.7343

Ansgar Becker fix: sporadic crash in DBtreePaintText with columns

Also, do not init column nodes in FindDBObjectNode, after dblclick on a table in ListTables

Refs #2069

59ea39a: 03 Aug 2026 08:24 v12.20.0.734264bit build Installer

Ansgar Becker fix: enable foreign key drop down on grid field in MS SQL mode

Refs #2567

cbdc78d: 03 Aug 2026 08:21 v12.20.0.7341

Ansgar Becker fix: remove column nodes from tree in table tools dialog

Refs #2563 and #2069

57905b0: 28 Jul 2026 19:02 v12.20.0.734064bit build Installer

Ansgar Becker feat: create opt-in option for displaying columns in database tree

Refs #2069

bb5e724: 27 Jul 2026 19:59 v12.20.0.733964bit build Installer

Ansgar Becker fix: handle MONEY column types as float

Refs #2564

d15df71: 27 Jul 2026 12:49 v12.20.0.7338

Ansgar Becker fix: invalid folder path for SQL export cannot be created if it contains a duplicated path delimiter

Custom output dir may already have a trailing path delimiter, only add when not
Broken in 2e290f1be155e09ef4edb50df9ed05a772f50c5c

Refs #2558

152ab70: 22 Jul 2026 09:10 v12.20.0.733764bit build Installer

Ansgar Becker fix: various CVEs regarding libssl and libcrypto

Related to a bunch of critical and high rated security issues:
High CVE-2026-28388
High CVE-2026-28389
High CVE-2026-28390
High CVE-2026-31790
High CVE-2026-45447
Critical CVE-2025-15467
Critical CVE-2026-28387
Critical CVE-2026-31789

9917a4c: 20 Jul 2026 15:34 v12.20.0.733664bit build Installer

Ansgar Becker fix: crash when opening textfile import dialog, with 0 tables in database

Refs #2556

03c005a: 20 Jul 2026 13:59 v12.20.0.7335

Ansgar Becker feat: show table columns in tree, as child nodes

Refs #2069

fc222fb: 17 Jul 2026 14:39 v12.20.0.733464bit build Installer

Ansgar Becker fix: prevent SQL error "Property 'MS_Description' already exists"

Fire either sp_addextendedproperty or sp_updateextendedproperty for setting a MS SQL column comment

Refs #2552

0014f1b: 17 Jul 2026 08:31 v12.20.0.7333

Ansgar Becker feat: auto-adjust width of various combo boxes

refs #2551

3fca286: 16 Jul 2026 07:21 v12.20.0.7332

Ansgar Becker Update MariaDB Connector/C to v3.4.9. See https://mariadb.com/docs/release-notes/connectors/c/3.4/3.4.9

8644cd7: 07 Jul 2026 20:25 v12.20.0.7331

Ansgar Becker fix: do not paint size bar in nodes of level 2, and do not show "-" text there neither

Refs #1500

5441379: 06 Jul 2026 16:09 v12.20.0.7330

Ansgar Becker feat: query size of all indexes in one query

Refs #1500

499ee41: 05 Jul 2026 15:15 v12.20.0.7329

Ansgar Becker feat: display size of each index and paint a color bar behind it

Refs #1500

f1d0eb6: 05 Jul 2026 12:24 v12.20.0.7328

Ansgar Becker: feat: Use fully qualified table name in "Select Top x rows" action when a click on it is combined with Shift

https://www.heidisql.com/forum.php?t=45359

06ab070: 10 Sep 2026 18:11 Builds

Ansgar Becker: fix: use newer/renumbered MYSQL_* constants with libmysql v8+

Refs #2587

aabe034: 27 Aug 2026 19:22

PJarczak: fix: preserve Qt tree subclass with standard LFM classes

81ae758: 23 Aug 2026 21:14

PJarczak: fix: keep Lazarus forms designer-compatible

Keep TLazVirtualStringTree in .lfm resources so forms open in the Lazarus IDE without a design-time package. On Linux Qt, map the streamed class to THeidiVirtualStringTree at runtime to preserve the Qt-specific rendering and hint fixes.

9e682a1: 23 Aug 2026 20:21

PJarczak: fix: backport Lazarus Qt6 HiDPI scaling

Lazarus 4.8 blurs bitmap-backed controls on scaled Wayland displays. Backport upstream #41299, targeted for Lazarus 5.0, only for Linux Qt6 builds.

https://gitlab.com/freepascal.org/lazarus/lazarus/-/work_items/41299

dca7a9a: 23 Aug 2026 10:32

PJarczak: fix: avoid cross-thread keep-alive timer access

Qt logged QObject::killTimer/startTimer warnings because query threads restarted a GUI TTimer. Restart it only from the main thread.

ae2b908: 22 Aug 2026 22:16

PJarczak: build: update Linux builds to Lazarus 4.8

Linux CI was still using Lazarus 4.4. Use the current 4.8 release for x86_64 and ARM64; Windows and macOS stay unchanged.

ecc4010: 22 Aug 2026 22:04

PJarczak: refactor: replace deprecated SynEdit line color API

Lazarus deprecates OnSpecialLineColors. Use OnSpecialLineMarkup while preserving query error and SQL log colors.

f1775eb: 22 Aug 2026 21:51

PJarczak: refactor: replace deprecated SynEdit selection API

Lazarus warns that SelStart/SelEnd are deprecated and very slow. Use native BlockBegin/BlockEnd and CaretXY instead.

d4a57c3: 22 Aug 2026 21:26

PJarczak: feat: add Linux Qt theme selection

Linux Qt previously followed the system theme only. Add System, Light and Dark modes for Qt5 and Qt6 without affecting GTK, Windows or macOS.

816a819: 22 Aug 2026 20:02

PJarczak: fix: improve VirtualTreeView hints on Qt

31f5c73: 21 Aug 2026 20:36

PJarczak: fix: improve VirtualTreeView interaction on Qt

1b057bd: 21 Aug 2026 20:36

PJarczak: fix: render VirtualTreeView correctly on Qt

6add51c: 21 Aug 2026 20:35

PJarczak: fix: improve Linux font handling

59a6b09: 21 Aug 2026 20:34

Ansgar Becker: fix: bunch of often occurring memory leaks, found by @ArtemRazin

Refs #2574

04d50c5: 18 Aug 2026 14:13

Ansgar Becker: fix: require 64bit specific libraries in rpm package, so the client should never decide for 32bit

Refs #2579

b92d253: 16 Aug 2026 20:29

Ansgar Becker: enhance: rephrase warning message displayed when a grid edit/delete did not affect any row

Refs #2568

9da8a80: 07 Aug 2026 08:29

Ansgar Becker: fix: crash on macOS while setting listForeignKeys.Width

Refs #2570

6727efc: 06 Aug 2026 16:06

Ansgar Becker: Bump version for v12.21 release

d0818d4: 03 Aug 2026 19:17

Ansgar Becker: localize: update compiled .mo translation files

3480cf4: 03 Aug 2026 19:02