How to Connect to MySQL Remotely with SSH PuTTY Tunnels: A Step-by-Step Guide
Let's take a quick look at the SSH protocol and tunnel, and see how to remotely connect to a MySQL server using an SSH tunnel created with PuTTY, a popular Windows SSH client - https://blog.devart.com/connecting-to-mysql-with-putty-and-ssh-tunnels.html