Download HeidiSQL v12.21, released on 03 Aug 2026
Installation notes
- Compatibility notes
- Windows:
- Microsoft Visual C++ Redistributable libraries are required for some drivers. Download and install them from Microsoft if you get errors saying "vcruntimeXYZ.dll missing".
- A preview of v13 can be downloaded here (updated on 2026-08-03 08:32). Unzip it in your existing HeidiSQL directory, and you can use both version in parallel.
- Linux:
- For the .deb and QT releases, Ubuntu 24.04 needs libqt6pas (not in the repos yet):
curl -L -o /tmp/libqt6pas6_6.2.10-1_amd64.deb https://github.com/davidbannon/libqt6pas/releases/download/v6.2.10/libqt6pas6_6.2.10-1_amd64.debsudo apt install /tmp/libqt6pas6_6.2.10-1_amd64.deb
- Install package:
- DEB:
sudo apt install ~/Downloads/heidisql...deb - RPM:
sudo yum install Downloads/heidisql...rpm
- DEB:
- Settings are stored in a .json file. You may migrate your settings from a Windows registry:
- click File > "Export settings" (to .txt file) in the Windows version
- click File > "Import settings" in the Linux version
- For the .deb and QT releases, Ubuntu 24.04 needs libqt6pas (not in the repos yet):
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 |
|---|---|
|
https://www.heidisql.com/forum.php?t=45359 aa0f350: 10 Sep 2026 18:18 v12.21.0.734764bit build ≃ Installer ≃ Refs #2587 2508516: 27 Aug 2026 19:26 v12.21.0.734664bit build ≃ Installer ≃ Refs #2568 ca238aa: 07 Aug 2026 08:32 v12.21.0.7345 effb854: 03 Aug 2026 19:12 v12.21.0.734464bit build ≃ Installer ≃ 05c57aa: 03 Aug 2026 13:37 v12.20.0.7343 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 ≃ Refs #2567 cbdc78d: 03 Aug 2026 08:21 v12.20.0.7341 Refs #2563 and #2069 57905b0: 28 Jul 2026 19:02 v12.20.0.734064bit build ≃ Installer ≃ Refs #2069 bb5e724: 27 Jul 2026 19:59 v12.20.0.733964bit build ≃ Installer ≃ 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 ≃ 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 ≃ Refs #2556 03c005a: 20 Jul 2026 13:59 v12.20.0.7335 Refs #2069 fc222fb: 17 Jul 2026 14:39 v12.20.0.733464bit build ≃ Installer ≃ 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 8644cd7: 07 Jul 2026 20:25 v12.20.0.7331 |
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
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 |