Create a SSH tunnel to connect to the MySQL database (RDS)

Today we consider the organization of SSH tunneling through PUTTY to MySQL.

Some programs require a connection to the database MySQL. For example mysql.exe console or other tools to work with databases of online stores or websites or MySQL IDE.

Very often, in the application, which requires a connection to the database MySQL, there are only 5 fields:

  • Host
  • Port
  • Login
  • Password
  • Database

Some hosting providers allow direct access to the databases from outside, but others provide access to MySQL only through SSH protocol.

So, to build a SSH tunnel from your local machine to the database, we recommend using PuTTY.

Next, write out step by step process.

Leave a Reply

Your email address will not be published. Required fields are marked *