ssh to mySql to use admin/query browser



Hi all,

I'm trying to get mySQL admin setup to work with my hosting service via
ssh. Got it working on my windows machine using secureCRT - so it seems
everything is in place for it to work. Now i'm trying on my OSX
machine

Here's what i do:

ssh -p 1234 -L 3306:localhost:3306 myuse...@xxxxxxxxxxxxxxxx

where 1234 is a non-standard ssh port number. The connection happens
fine - then i try to log into mySql Administrator.

Error: Can't connect to local MySQL server through socket
'/tmp/mysql.sock' (2) (code 2002)

thanks for any help.

Sam

OSX 10.4.7
to
Linux version 2.6.9-34.0.1.ELsmp (buildcentos@build-i386) (gcc version
3.4.5 20051201 (Red Hat 3.4.5-2)) #1 SMP Wed May 24 08:14:29 CDT 2006

.



Relevant Pages

  • ssh to mySql to use admin/query browser
    ... I'm trying to get mySQL admin setup to work with my hosting service via ... Got it working on my windows machine using secureCRT - so it seems ... where 1234 is a non-standard ssh port number. ...
    (comp.sys.mac.comm)
  • Re: netssh and mysl
    ... I couldn't get mysql to connect directly using the mysql gem. ... Sounds like ssh tunneling is what you want. ... While this ssh session is open, point any Mysql client (such as the Ruby ...
    (comp.lang.ruby)
  • Re: How to properly set-up an SSH tunnel on FreeBSD for automatic backups
    ... > I also received several very helpful off-list replies, ... > from the fall-back machine) and they are then simply locally processed ... yet opening up SSH in anyway for root is for me a no-no ... You may also want to look into MySQL replication, ...
    (freebsd-questions)
  • Re: netssh and mysl
    ... I couldn't get mysql to connect directly using the mysql gem. ... Sounds like ssh tunneling is what you want. ... While this ssh session is open, point any Mysql client (such as the Ruby ...
    (comp.lang.ruby)
  • Re: Defektes Dump dennoch einspielen
    ... > Ne, unterschiedliche Tabellen. ... >> defektes Filesystem hin oder auf gleichzeitige Zugriffe auf die MySQL ... SSH ist _ideal_, um Dinge zu automatisieren. ... Next by Date: ...
    (de.comp.datenbanken.mysql)