Uploaded image for project: 'MariaDB Connector/J'
  1. MariaDB Connector/J
  2. CONJ-1220

SSH tunnel: Unix domain sockets are not supported on Windows

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • None
    • 3.6
    • java8
    • None
    • Windows 11 with dbeaver
      Last apt Mariadb server on debian 12

    Description

      Hi,

      I use dbeaver on Windows to connect to a mariadb database.

      I follow this instruction to connect:
      https://github.com/dbeaver/dbeaver/issues/2761#issuecomment-1784463077
      The client dbeaver is on Windows.
      I create a SSH tunnel in dbeaver to connecter to server.
      And now, I try to connect to MariaDB socket (jdbc:mariadb://localhost:3306/?localSocket=/run/mysqld/mysqld.sock&localSocketAddress=192.168.1.XXX)
      (If I connect with localhost/user/password, it is work fine).

      Error message:
      org.mariadb.jdbc:mariadb-java-client:RELEASE [3.5.1]
      Socket fail to connect to address=(localSocket=/run/mysqld/mysqld.sock). Unix domain sockets are not supported on Windows
      Unix domain sockets are not supported on Windows

      I understand Windows don't support unix socket but in this case, we use SSH tunnel on a linux. Is it not Windows. It should be supported.

      Attachments

        Activity

          People

            diego dupin Diego Dupin
            daikoz DAIKOZ
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.