Re: ssh tunneling with phpmyadmin
| From: | Jason Wong | Date: | Tue, 11 Jan 2005 05:50:15 +0000 |
| Subject: | Re: ssh tunneling with phpmyadmin | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-38098@lists.php.net to get a copy of this message | ||
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@example.com -L 13306:127.0.0.1:3306
Then configure your laptop's copy of phpmyadmin to access MySQL using address
127.0.0.1 and port 13306.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-db
------------------------------------------
New Year Resolution: Ignore top posted posts