Details
-
Task
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
2.4.0
-
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.