Add database - SSH fails

On my MAC tried to connect to a MYSQL database that is remote, have to use SSH.

ADD DATABASE fails to do so. It reports a 5000MS timeout.
Not much more detail.

Then created a puTTY connection, now DB connects with localhost:3306.

I have noticed the same issue. The SSH tunnel feature does not appear to work on Mac on v0.25.2, and just gives a 5000ms timeout message.

1 Like

bit more detail from the log

Sep 4 19:19:08 MvB Metabase[7123]: INFO util.ssh :: creating ssh tunnel user@websrv1.company.com:22 -L 62865:sqlsrv6:3306
Sep 4 19:19:08 MvB Metabase[7123]: ERROR metabase.driver :: Failed to connect to database: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: 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.

The tunnel shows port 62865, I think it should be 3306.