Connect to MySQL using SSH & pem key

I have a .pem key and able to connect to remote host via

ssh -i ~/dev/keys/mysql.pem user@11.22.33.44 

(ip changed)

I also able to easily connect there using same credentials using MySQL WorkBench .

So the question - how do I connect there via DataGrip?

I tried to do that, and I here what I got when I click Test Connection for the first time

 

And here what I got when I click Test Connection for the second time


FYI, I increased Xmx to 4096m and it still eats up all the memory in seconds and does not even connect to remote host

 

0
1 comment

Hi,
There is an issue based on your problem https://youtrack.jetbrains.com/issue/DBE-4525
Thank you.

0

Please sign in to leave a comment.