On Aug 1, 2009, at 19:17 , Unnsse Khan wrote:

> Am running a MySQL 5 database on a Red Hat Linux server hosted on an
> Amazon EC2 cloud.
>
> Right now, I doing all my development (ruby, rails, mysql, etc.)
> locally on an OS X Leopard based machine...
>
> What I am seeking is a MySQL client / tool which allows remotely
> connecting to the Linux server through SSH and pem keys.
>
> What is the best OS X based tool / client to use to remotely connect
> to an external MySQL database server on Linux?


I haven't done this with EC2, but unless there's something weird with  
the EC2 SSH implementation, you should just be able to forward port  
3306 to a suitable local port and connect. Like this:

ssh -L 3307:localhost:3306 [email protected]

In this example, 3307 on your computer would then be 3306 on the EC2  
server.

Regards,

Guyren G Howe
Relevant Logic LLC

guyren-at-relevantlogic.com ~ http://relevantlogic.com ~ +1 512 784 3178

Ruby/Rails,  REALbasic, PHP programming
PostgreSQL, MySQL database design and consulting
Technical writing and training

Read my book, Real OOP with REALbasic: 
<http://relevantlogic.com/oop-book/about-the-oop-book.php 
 >


--~--~---------~--~----~------------~-------~--~----~
SD Ruby mailing list
[email protected]
http://groups.google.com/group/sdruby
-~----------~----~----~----~------~----~------~--~---

Reply via email to