I am using the 4.0.12 client library on a Win2k host to
connect to a 4.0.13 linux server.

If I connect directly to the server using mysql_real_connect, everything
runs fine.

However, I want to use SSH tunneling.

So I set up a SSHv2 tunneling connection from localhost:3306 to server:3306.

If I use the command line, i.e. mysql -u foo -pbar, I can connect to the
remote
server via SSH. The same is, if I use tools like SQLyog.

But if I now use mysql_real_connect in my program, the program hangs when
calling mysql_real_connect, no error message appears and no packets are sent
over the net, so I think it is an error in the mysql_real_connect code...

Any ideas?

Regards,
Tobias


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to