Re: ssh tunneling with phpmyadmin

From: Date: Tue, 11 Jan 2005 06:28:00 +0000
Subject: Re: ssh tunneling with phpmyadmin
References: 1 2  Groups: php.db 
Request: Send a blank email to php-db+get-38100@lists.php.net to get a copy of this message
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@example.com -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.


« previous php.db (#38100) next »