Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Basics
HeidiSQL is a so called client application, only usable when you have some server
available. So, make sure you have some MySQL, MS SQL or PostgreSQL server to
connect to.
Note that the default host name for the SSH server is the one you entered in the
"Settings" tab. HeidiSQL then advices plink.exe to connect to that host name, or, when
you entered a SSH host name, that one is taken. Additionally, the host name on the
"Settings" tab is always taken for the -L (listen) option in plink.exe.
Example settings:
"Settings" tab:
o Hostname: "127.0.0.1"
o Password: [your mysql password]
o Port: "3306" in most cases
"SSH tunnel tab:
o SSH Host: [your server name]
o Port: "22" in most cases
o Username: [your ssh user]
o Password: [your ssh password]
o Local port: "3307"
The following error, or a similar one, is mostly caused by a tunnel onto the official IP
address of your remote server:
Lost connection to MySQL server at 'reading initial communication packet', system
error: 0 "Internal error/check (Not system error)"
In such cases, ensure you're using "127.0.0.1" in Settings > Hostname/IP, and the
remote IP of your server in SSH tunnel > Host.