SSH tunnelling: Difference between revisions

m
-P (capital P) did not work in my Linux Debian system. I think this is a typo. -p (small p) works.
No edit summary
m (-P (capital P) did not work in my Linux Debian system. I think this is a typo. -p (small p) works.)
Line 208: Line 208:
<!--T:49-->
<!--T:49-->
<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> -p  
</pre>
</pre>
1

edit