SSH tunnelling: Difference between revisions

no edit summary
No edit summary
No edit summary
 
Line 209: Line 209:
<pre>  
<pre>  
psql -h 127.0.0.1 -p PORT -U <your username> -d <your database>
psql -h 127.0.0.1 -p PORT -U <your username> -d <your database>
mysql -h 127.0.0.1 -P PORT -u <your username> -p  
mysql -h 127.0.0.1 -P PORT -u <your username> --protocol=TCP -p  
</pre>
</pre>


cc_staff
159

edits