Thursday, February 5, 2015

SSH tunnel: Access your MySQL server anywhere

Establish the SSH tunnel:

ssh -L 3333:mysql.server:3306 geoffham@ssh.pythonanywhere.com 

Access your MySQL server like local:

mysql -h 127.0.0.1 -u geoffham -p 


No comments:

Post a Comment