This would be a very simple change to make to the MySQL script: to support a
mysql tunnel you simply need to add a few (I think two) extra parameters and
change the code where connection is made.
I made a simple adaptation and got it working on my own install. I added a
tunnel parameter which is a boolean and if that was set I used 127.0.0.1 as the
host. The tunnel port also needs to be supplied as the port for MySQL.
I am sure the way I have done it is not general enough - the tunnel host needs
to be settable for one thing, but the concept definitely works.
Original issue reported on code.google.com by alfredarmstrong@gmail.com on 10 Feb 2011 at 3:48
Original issue reported on code.google.com by
alfredarmstrong@gmail.com
on 10 Feb 2011 at 3:48Attachments: