Re: ssh tunneling with phpmyadmin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Wow that actually worked :) and was quite easy...too easy !
now even the relational features work installed on my local laptop

one last question on this matter...
is there an automatic script you can run that gives the password too...
something I can put in my startup items ?

many many thanks
g

On Jan 10, 2005, at 10:28 PM, Jochem Maas wrote:

Jason Wong wrote:
On Tuesday 11 January 2005 11:39, Graham Anderson wrote:
is it possible to ssh tunnel with phpmyadmin
I want to access my remote db [on shared server] from my phpmyadmin on
my laptop
my ISP wonderfully disabled phpmyadmin's relational features :(


seems a bit hard to find the info so I thought I would ask here :)
I am using Mac OS X if it matters
Assuming you're able to SSH into the server from your laptop then run this on your laptop:
ssh -fN user@xxxxxxxxxxx -L 13306:127.0.0.1:3306

classy tip!

Then configure your laptop's copy of phpmyadmin to access MySQL using address 127.0.0.1 and port 13306.

-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux