How to connect the database with SSH tunnel
For development purposes, we provide SSH access to our MySQL server from the Plus hosting package.
To create a connection, you must create an an SSH key pair on the cPanel interface. Then we can use PuTTY to connect to SSH through the SSH protocol, but the tuner must be set before the connection.
To do this, follow these steps:
- In the left part of the window,
selectselect Connection/SSHand withinthethe Tunnelssection. - In
thethe Add new forwarded portsection, inthethe Source portfield,enterenter 3306port number.ForFor Destination,enterenter localhost:3306, and thenclickclick Add. - After entering the data, click
thethe Openbutton. In the window that appears, enter your storage ID and the SSH key password.
With these settings, you can see your databases connected to the localhost: 3306 port, as long as the connection established with PuTTY is not disconnected.

