SSH tunnelling: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 199: Line 199:


<!--T:48-->
<!--T:48-->
These commands connect your localhost:PORT to PostgreSQL or MySQL database server respectively. The port number you choose (PORT) should not be bigger than 32768 (2^15). "someuser" in this example is your Compute Canada username. The difference between this connection and an ordinary SSH connection is that you can now use another terminal to connect to the database server directly from your desktop. On your desktop run one of these commands, for PostgreSQL or MySQL as appropriate:
These commands connect your localhost:PORT to PostgreSQL or MySQL database servers respectively. The port number you choose (PORT) should not be bigger than 32768 (2^15). "someuser" in this example is your Compute Canada username. The difference between this connection and an ordinary SSH connection is that you can now use another terminal to connect to the database server directly from your desktop. On your desktop run one of these commands, for PostgreSQL or MySQL as appropriate:


<!--T:49-->
<!--T:49-->
rsnt_translations
57,772

edits

Navigation menu