Pregunta

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?

¿Fue útil?

Solución

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.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a dba.stackexchange
scroll top