Question

A connection string for SQL Server can contain MultiSubnetFailover=true, to handle multiple DNS A records, letting the client try to connect to every IP address of a domain (or subdomain) name, to access the current master (of Always On availability groups).

Does this work with other DBMSes, like MySQL? If not, is there an equivalent?

Was it helpful?

Solution

MultiSubnetFailover can be used only for connecting to SQL Server part of the client connection string.

For MySQL, if you are using .NET, then you can use multiple hosts in connection string or you can even use single DNS that provide DNS Service (SRV) records to provide failover, load balancing, and replication services.

Licensed under: CC-BY-SA with attribution
Not affiliated with dba.stackexchange
scroll top