Error connecting to Linux server with MariaDB from HeidiSQL on Windows

[expired user #11977]'s profile image [expired user #11977] posted 5 years 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 5 years ago Permalink

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

[expired user #11977]'s profile image [expired user #11977] posted 5 years ago Permalink

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

ansgar's profile image ansgar posted 5 years ago Permalink

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

[expired user #11977]'s profile image [expired user #11977] posted 5 years 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 5 years 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.