Skip to content

Instantly share code, notes, and snippets.

@dungsaga
Created April 25, 2022 22:39
Show Gist options
  • Save dungsaga/f741992425c29b506a19984a6284077b to your computer and use it in GitHub Desktop.
Save dungsaga/f741992425c29b506a19984a6284077b to your computer and use it in GitHub Desktop.
How to build HeidiSQL

how to build HeidiSql

prerequisite

build steps

Instruction from the author (reference: Source Code | https://www.heidisql.com/forum.php?t=20454)

1. You need Delphi XE5 to compile the HeidiSQL sources
2. Then, you load the package files from
* components/SynEdit/Packages/DelphiXE5
* components/virtualtreeview/Packages/DelphiXE5
3. build + install both packages
4. load the HeidiSQL package from
* packages/DelphiXE5/
5. and build it
6. try to run heidisql.exe from the "out" folder
7. see it does not connect because you don't have a valid libmysql.dll in the same folder. Rename the right .dll (libmysql32.dll or libmysql64.dll) to libmysql.dll and run heidisql.exe again.

after build

  • go to folder "out"
  • rename folder "plugins32" or "plugins64" to "plugins"
  • run heidisql.exe
  • before connecting, choose the correct library lib32.sll or lib64.dll for your platform (32-bit or 64-bit)

references

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment