Connecting to MariaDB by HeidiSQL through the SSH tunnel
Before starting, the following components should be installed:
Connection setup using HeidiSQL
- Install the app HeidiSQL and run it – Download
- In the lower right corner click on the button to create a new session
- In the “Network Type” field select the “MariaDB or MySQL (SSH Tunnel)”
- Go to the appeared “SSH tunnel” tab
- In the “plink.exe location” field click on the folder icon and then select the “plink.exe” file in the folder, where the PuTTY was installed (by default the file is located on the next path C:\Program Files\PuTTY )
- In the “SSH host + port” field enter the address of the virtual machine
- In the “Username” and “Password” fields type the data to connect to the virtual machine
- Go back to the “Settings” tab
- To connect to the DBMS with the root rights, leave the “User” and “Password” fields with no changes
- Click left in the bottom and after click to connect to DBMS