-
Pages
Richard Hart | Hates_
My Links
-
Recent Posts
- Member of the Month
- Please don’t let yourself go stale
- Want to get better at X? Do more X
- It’s the polish that takes the longest
- who.removed.me
- Tagging in Notational Velocity
- What we all need is understanding
- How to Get Control of Your Time and Your Life
- Thoughtbot Clearance & mongomapper
- Getting out of bed hack: Eat an apple
Flickr
-
RSS Links

Don’t use PHPMyAdmin. SSH tunnel instead.
If you’re still using phpMyAdmin to admin your remote database, then you’re doing it wrong. Don’t expose your database to the outside world like this, instead use a SSH tunnel. In your terminal simply create the tunnel:
ssh -fNg -L 8888:127.0.0.1:3306 {your_username}@{yourdomain.com}Then in your MySQL interface of choice just connect to 127.0.0.1 port 8888 and voila, you’ll be connected to your remote database.
Apps like Querious even let you setup the connection internally without having to tunnel through in Terminal.