0
votes
1answer
116 views

mysql and ssh tunnel

I got some troubles establishing connect to remote database via ssh tunnel. Open ssh tunnel ssh -fNg -L 3307:127.0.0.1:3306 user@remote-host Check it netstat -lep --tcp All OK tcp 0 0 *:3307 ...
0
votes
2answers
2k views

Trying to Set Up SSH Tunneling To MySQL Server for MySQL Query Browser

I'm trying to set up SSH tunneling on a remote web server to another MySQL server so that the database can be browsed easily with MySQL Query Browser. I'm following this page but cannot connect to the ...
5
votes
3answers
2k views

How to script a database migration using an SSH tunnel?

I am trying to create a sync.sh script that coordinates with our less-than-ideal version control for our website. This script will migrate a live copy of the database to our development environment ...
3
votes
2answers
2k views

connecting to mysql over ssh

All the computers involved are Mac OS X 10.6.x machines. I am on computer A, and have mysql running on it, and can connect to it as A~ $ mysql -u punkish -p database and so on. I have access to ...
0
votes
1answer
871 views

Connection to a tunneled MySQL with PHP PDO on Mac Osx Snow Leopard

On Mac OS (snow leopard) I have a SSH tunnel so that my local 3306 port is forwarded to remote MySQL. Apps like Navicat can establish connection successfuly. But PHP's PDO can't connect and gives an ...