I need to connect RDS through SSH for now(Local -> EC2 -> RDS).
So I tried to connect MySQL via SSH Tunnel option on Datagrip, however, It cannot connect to server.
[08S01] Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. No appropriate protocol (protocol is disabled or cipher suites are inappropriate). I tried MySQL Workbench with Standard TCP/IP over SSH option. It works well.
Is that different between TCP/IP over SSH and SSH Tunnel?
Or Did I something wrong?
This is my workbench screenshot. It works.
This is my Datagrip screenshot. I wrote host as RDS endpoint but it failed.



