katharnakh 7 Posting Whiz in Training

I had a problem in connecting to remote MySQL server, which is being firewall protected. I searched in Internet to find possible solution, I found, I have to use port forwarding using SSH command, and I am using WinXP.

But unfortunately, SSH command is not there in Windows.

I used PLINK command for port forwarding. I was able to connect to MySQL on remote host. But the problem is, when I run command it opens a command prompt, which I don't to run as seperate window, when I run this command.

Is there any way I can hide this command prompt being displayed?

following is the code I run to port forwarding(local port forwarding)

import os
os.system("plink -v -l -N -batch username -pw password -L 3307:remote.MySQL.server:3306 remote.firewall.server")

Any advise is greatly appreciated.


Thanks.

Sudhir.