Save session in command line

[expired user #10191]'s profile image [expired user #10191] posted 8 years ago in Feature discussion Permalink

I was wondering if it could be possible to save a new session using the command line, without opening the connection (or it could be a different flag, too).

It would be useful to automate the creation of the sessions.

Thank you

ansgar's profile image ansgar posted 8 years ago Permalink

That's not doable with heidisql.exe. The intention of command line parameters for connecting is to do that explicitly without storing these connection parameters.

If you have access to the Windows Registry, you could create a new key under HKEY_CURRENT_USER\Software\HeidiSQL\Servers\, with the minimal connection parameters like shown with a red border in the attached screenshot.

1 attachment(s):
  • registry-session
[expired user #10191]'s profile image [expired user #10191] posted 8 years ago Permalink

OK, thank you again

Please login to leave a reply, or register at first.