HeidiSQL JSReuse saved database and tunnel settings.
Bring HeidiSQL connection settings into code and terminal commands.
Bring HeidiSQL connection settings into code and terminal commands.
Source code: GitHub repository.
HeidiSQL already stores the database endpoint and, when configured, the SSH tunnel used to reach it. HeidiSQL JS lets scripts read those saved settings without keeping another connection configuration. Inspect the database and tunnel separately, find the required profile, or preview a supported settings change.
How it works explains where settings are read, how the native format is interpreted and what happens on the host.
| Goal | Start here |
|---|---|
| Read settings from code | API quick start with output |
| Inspect settings from a terminal | CLI quick start with output |
| Try everything without installed settings | Synthetic fixtures |
| Preview a supported settings change | Preview, review and apply |
| Separate database and SSH authentication | Tunnel example |
Read portable typed settings, registry exports or the live Windows registry. Database endpoints and SSH tunnels remain separate, with independent authentication metadata.
Read operations describe saved metadata without opening a remote session. Use Dockline for transfers/SSH and Dockline Keys for key loading and conversion. SQL queries and database import/export require a separate database implementation.
Part of the Portline family, with each application library maintained in its own repository.
Connect a selected profile through the optional shared Portline–Dockline integration. Use the same scoped execution API across application readers while keeping native parsing and metadata queries free of transport dependencies.