-
-
Notifications
You must be signed in to change notification settings - Fork 563
Second SSH/MySQL connection uses existing tunnel from first connection #2359
Copy link
Copy link
Closed
Labels
bugDefective behaviour in HeidiSQLDefective behaviour in HeidiSQLlinuxAffects Linux version (not Wine)Affects Linux version (not Wine)macosAffects the macOS app bundleAffects the macOS app bundlessh-tunnelRelated to SSH tunneling with ssh or plinkRelated to SSH tunneling with ssh or plinkwindowsAffects the Windows versionAffects the Windows version
Milestone
Description
Description
Both sessions are set to use the same local port (3307 in my case).
Second connection to a testing server shows databases from the first one, so I'm reusing the first tunnel.
Probably because apphelpers.PortOpen(3307) fails?
Probably only on Windows?
In my case the command returns the expected string :3307 and should then use a different port:
$ netstat -na -p TCP
...
TCP 127.0.0.1:3307 0.0.0.0:0 ABHÖREN
HeidiSQL version
12.14.1.1
Database server version
Reproduction recipe
Open one SSH tunnel session, then another one. Watch out for the databases displayed in the second connection.
Error/Backtrace
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugDefective behaviour in HeidiSQLDefective behaviour in HeidiSQLlinuxAffects Linux version (not Wine)Affects Linux version (not Wine)macosAffects the macOS app bundleAffects the macOS app bundlessh-tunnelRelated to SSH tunneling with ssh or plinkRelated to SSH tunneling with ssh or plinkwindowsAffects the Windows versionAffects the Windows version