![]() | |
![]() |
| | Thread Tools | Display Modes |
#11
| |||
| |||
|
|
Oh, now I guess I understand. Well, if you connect through the tunnel, then from the MySQL servers point of view the connection will be established by the sshd process (or ssh, depending which side opened the tunnel). And this process is running on the same host than MySQL itself and will thus connect from either 127.0.0.1 (preferred) or from a public IP interface of your machine. Still you can configure how SSH builds the tunnel. |
|
There is http://dev.mysql.com/doc/refman/5.1/en/dns.html it mentions a (small) performance penalty from having MySQL use DNS to reverse-lookup incoming connections. |
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~| Malcolm Hoar "The more I practice, the luckier I get". | malch (AT) malch (DOT) com Gary Player. | http://www.malch.com/ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ |
![]() |
| Thread Tools | |
| Display Modes | |
| |