Hi all,

can I force the mysql clients to use a tcp/ip connect if connecting to
'localhost'?

This need stems from the following situation:

I have an ssh account and a mysql DB on one host at my isp. The db can only
be accessed from 'localhost', not from any other.

I use an ssh tunnel to forward the local port 3306 to my isp machine:

ssh -L 3306:localhost:3306 [EMAIL PROTECTED] sleep 10m

ssh binds only to the localhost interface (127.0.0.1). So now I need to
connect to 127.0.0.1, but through TCP/IP instead of using sockets. 

Any idea?

Thanks in advance,
Ben

-- 
Ben Peter
ph. +49-(0)173-9262278
fax +49-(0)89-1488-216649


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to