host: win 7
guest : opensuse [10.0.2.15]
Ports forwarded 80, 22 from 127.0.0.1 to 10.0.2.15
Connection to VM using winscp with firstname.lastname@example.org:22 using public key authentication is working. I can access Apache as well by going to 127.0.0.1 on host machine.
I can't access mysql by using ssh tunnel. I am using heidisql. I have another remote machine which I am accessing via ssh tunnel and it is working fine with same configuration on that server.
I always get
"SQl Error(2003) in statement #0: Can't connect to MySQL server on 'localhost' (10061)"
What am I doing wrong?