New for connecting to databases and has no idea where to start troubleshooting -
I am currently using HeidiSQL to connect to an external Mysql database server hosted on Amazon web service - EC2.
I can access the database using HeidiSQL with the settings: MySQL (SSH tunnel) Hostname / ip: 127.0.0.1 user: (user) password: (pw) port 3306
in the SSH tunnel tab: Location of plink.exe: putty.exe sshhost + port: (my host ip) port 22 private key file: (installed) local port: 3307
Using this configuration, I can log into my database. My problem is when I try to do this using my own putty commands using port forwarding:
In Shpakler: I installed SSH> tunnels - source port: 3307, destination (my host ip): 3306 Local and Auto. I connect my passwords and hosting
Back to HeidiSQL, I set up the following settings: MYSL (TCP / IP) hostname: localhost user: (user) password (PW) port 3307
and try to connect. I get the following error: SL ERROR (2013): Lost connection to MySQL server while "reading the source communication packet", system error: 0
, , , ssh , - . , . - ? ? - ODBC JDBC . ?