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

    • Type: Task
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.4.0
    • Fix Version/s: None
    • Component/s: configuration, Failover
    • Labels:
      None

      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

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

              Dates

              Created:
              Updated:

                Git Integration