I'm trying to get mysql query browser to work through a ssh tunnel. The connection is OK, I'm able to log, but then when I try to connect on localhost with the query browser it returns me error 2002...
I open the tunnel this way...
ssh -L 3306:193.228.152.2:3306
admin@193.228.152.2
And this is the exact error message...
Could not connect to host 'localhost'.
MySQL Error Nr. 2002
Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
If I click on "ping host", I do get a ping. I also don't have mysql server on my machine, so port 3306 is OK (anyway I've tried to open the tunnel and log on other ports with no success)...
Been searching for a solution for quite some time and I'm really desperate because if I don't figure it out I'll have to work with the console...
Thanks in advance!