Ads were blocked - no problem. But keep in mind that developing HeidiSQL, user support and hosting takes time and money. You may want to send a donation instead.

Error connecting to Linux server with MariaDB from HeidiSQL on Windows

plhmk's profile image plhmk posted 11 months ago in Creating a connection Permalink

Hello, I have a server Linux with MariaDB running If i try connecting to server with the HeidiSQL from Windows PC i have the message: Plink terminated, command row was:

C:\Program files(86)\PuTTY\plink.exe -ssh username(at)127.0.0.1 -pw"xxx" -P 22 -N -L 3307:127.0.0.1:3306

and can not connect

Also if i use real server IP adress can not connect With PuTTY i can connect to the server

Thanks, regards

ansgar's profile image ansgar posted 11 months ago Permalink

You could try and increase the plink.exe timeout in the "SSH tunnel" tab of the session manager.

plhmk's profile image plhmk posted 11 months ago Permalink

Hello, increased at 20 but same error... Thanks, regards

Ads were blocked - no problem. But keep in mind that developing HeidiSQL, user support and hosting takes time and money. You may want to send a donation instead.
ansgar's profile image ansgar posted 11 months ago Permalink

Ok, then what do you get when executing that plink command via cmd.exe?

plhmk's profile image plhmk posted 11 months ago Permalink

The command is: plink -ssh pl(AT)127.0.0.1 -pw "xxx" -P 22 -N -L 3307:127.0.0.1:3306 Error is: Network error : Connection refused. But with Putty connection is OK to the server

ansgar's profile image ansgar posted 11 months ago Permalink

Then plink.exe is somehow unable to establish a connection. You could check the Windows Firewall settings, and probably add an exception for plink.exe there.

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