yzisin.wordpress.com
MySQL over SSH tunnel
Sometimes we face a problem when we have SSH access to the server, but not to MySQL. Here is a simple workaround – SSH tunnel: ssh -f -N -L LOCAL_PORT:127.0.0.1:3306 USER@HOST This command al…