ConnectionString and Failover
Posted: Tue 22 Jul 2014 19:45
I'm a newbie here, switching over from MySQL Connector/Net, and the documentation is pretty vague on how the Server parameter of a connection string can be set up with multiple servers. Is this supported by devart dotConnect?
For example, I would like to construct my connection string to utilize failover/load balancing of a clustered database
For example, I would like to construct my connection string to utilize failover/load balancing of a clustered database
Code: Select all
<connectionStrings>
<add name="MySqlServices"
connectionString="server=192.168.1.1,192.168.1.2,192.168.1.3; Database=pri;
User ID=***; Password=***;" />
</connectionStrings>