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

Allow mixing TCP and socket hosts in failover configuration

    XMLWordPrintable

Details

    Description

      It would be great if allowed using of both TCP a Unix socket hosts in failover configuration.

      Example: I would like primary host to to by unsecure Unix socket to localhost. Secondary host to be remove machine connected by secure TCP connection.

      url="jdbc:mariadb:sequential://localhost:3306,10.0.02:3306"
      localSocket=/var/run/mysqld/mysqld.sock;

      This configuration works fine for localhost. Problem is, it tries to use Unix socket also to remote machine. It would be great if localSocket would be only for localhost hosts. Or if somehow configurable.

      Attachments

        Activity

          People

            diego dupin Diego Dupin
            PavelCibulka Pavel Cibulka
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

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