Skip to content

SSH tunnel connection fails for MariaDB  #338

@almas-x

Description

@almas-x

What happened?

When connecting to a MariaDB server over SSH tunnel, if the database host is a hostname only resolvable on the remote SSH server (e.g., defined in its /etc/hosts), TablePro fails with:

[2013] Lost connection to server at 'handshake: reading initial communication packet', system error: 60 (SQLSTATE: HY000)

The same SSH tunnel and DB configuration works in DataGrip. Reproducible on TablePro 0.19.0, macOS 26.3.1 (25D2128).

DB host: armpvm (resolved only remotely)
SSH server: Linux 178.107.162.14 (user cloud)
MariaDB: 10.11.8-MariaDB.

  • Error screenshot:
Image

Steps to reproduce

  1. On the remote Linux SSH server, add /etc/hosts so 'armpvm' resolves to the MariaDB server.
  2. In TablePro: General tab: Host=armpvm, Port=3306, User=root, enter DB password.
  3. SSH Tunnel: Enable, SSH Host=178.107.162.14, Port=22, User=cloud, Auth=password.
  4. Test connection — observe error [2013].
  5. Repeat the same SSH/DB config in DataGrip — connection succeeds.

Expected behavior

TablePro should connect successfully if the DB Host (e.g. armpvm) is resolvable on the remote SSH host, consistent with DataGrip and manual SSH tunnel behavior.

Database type

MySQL / MariaDB

TablePro version

0.19.0

macOS version & chip

macOS 26.3.1 (25D2128)

Screenshots / Logs

  • TablePro General config:
TablePro General config - TablePro SSH Tunnel config: TablePro SSH config - TablePro error screenshot: Image
  • DataGrip config (successful):
DataGrip success

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions