Hi,
As per the documentation https://dev.mysql.com/doc/connector-net/en/connector-net-connection-options.html ,
"The name or network address of the instance of MySQL to which to connect. Multiple hosts can be specified separated by commas."
My connection string with 1 host works well.
But when I add an another host separated by comma, I get the following error.
"Unable to connect to any of the specified MySQL hosts."
Basically I am able to connect to these hosts individually, but when I add them as comma separated it doesn't work.
Please let me know the right way to connect to the replicated servers so that if one goes down the application can always go to the next available one.
Requesting your response asap as we have a blocker on this.
Thanks,
Prem
As per the documentation https://dev.mysql.com/doc/connector-net/en/connector-net-connection-options.html ,
"The name or network address of the instance of MySQL to which to connect. Multiple hosts can be specified separated by commas."
My connection string with 1 host works well.
But when I add an another host separated by comma, I get the following error.
"Unable to connect to any of the specified MySQL hosts."
Basically I am able to connect to these hosts individually, but when I add them as comma separated it doesn't work.
Please let me know the right way to connect to the replicated servers so that if one goes down the application can always go to the next available one.
Requesting your response asap as we have a blocker on this.
Thanks,
Prem