I'm having the same kind of problem (I think) as was described there: SQL Error (2003): Can't connect to MySQL server on 'localhost' (10061).
Here's my setup:
- running HeidiSQL 7.0.0.4157 at home (H)
- running a MySQL server on server A
- I want to connect with an SSH tunnel on server B, like:
H --SSH--> B ----> A
A is configured to accept connection from B's IP.
B is configured to accept tunnels (actually, I'm running a bidirectional SSH tunnel on it 24/7 for other stuff)
But when I try to connect to the MySQL server, I get the above-mentioned error message. Full log:
/* Connecting to 188.*.*.* via MySQL (SSH tunnel), username ******, using password: Yes ... */
/* Attempt to create plink.exe process, waiting 4s for response ... */
/* SQL Error (2003): Can't connect to MySQL server on 'localhost' (10061) */
/* Closing plink.exe process #2244 ... */
Any idea about what I could be doing wrong ?
Thanks