Question on Connection string
Date: June 21, 2016 12:32PM


As per the documentation ,

"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.


Options: ReplyQuote

Written By
Question on Connection string
June 21, 2016 12:32PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.