Getting SQL Error (2003) on all SSH connections in session manager

User, date Message
Written by makkynz
10 months ago
Category: Creating a connection
5 posts since Wed, 26 Jun 13
I'm am constantly getting the "SQL Error (2003) in statement #0: Can't connect to MySQL server on 'localhost' (10061)" on all my remote SSH connections.

These wereworking before, but all of a sudden stopped working.

I can see the plink.exe settings are correct and can connect fine using plink.exe directly.

I am able to connect to the same DBs (with the same connection settings) fine using other MySQL clients like SQLyog.

Any ideas?
Written by dlawson
10 months ago
1 posts since Mon, 01 Jul 13
I was finally able to resolve this issue by simply increasing the value of "plink.exe timeout" in the connection profiles of my Windows servers. Cygwin's OpenSSH server seems to take a bit longer to connect on these machines. A value of 10 seconds seems to work fine.

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